         (concat nested-deps
                 (->> nested-deps
                      (mapcat ref-dependencies)))))))
+
 (defn config->ref-graph
   [config]
   (reduce

      (catch Exception e
        (let [line (.getLineNumber pr)]
          (throw (ex-info (format "Config error on line %s" line) {:line line} e)))))))
(defn read-config
  "Optional second argument is a map that can include the following keys:
  :profile - indicates the profile to use for #profile extension

      (recur (conj r ys)
             (butlast ys))
      r)))

(defn ref-dependency
  [ref*]
  (:value ref*))

(defn ref-dependencies
  "Recursively checks a ref for nested dependencies"
  [ref*]
