Closed mjmeintjes closed 2 months ago
The following deps.edn doesn't work:
{:paths ["src"] :deps {metrics-clojure/metrics-clojure {:git/url "https://github.com/clj-commons/metrics-clojure" :deps/root "metrics-clojure-core" :git/sha "532fc437e734b049a54cb9a198f201dc5f47328e"}}}
Running nix run github:jlesquembre/clj-nix#deps-lock gives the following output:
nix run github:jlesquembre/clj-nix#deps-lock
{:clojure.main/message "Execution error (ExceptionInfo) at clojure.tools.deps.extensions/throw-bad-manifest (extensions.clj:158).\nManifest file not found for metrics-clojure/metrics-clojure in coordinate {:git/url \"https://github.com/clj-commons/metrics-clojure\", :deps/root \"metrics-clojure-core\", :git/sha \"532fc437e734b049a54cb9a198f201dc5f47328e\"}\n", :clojure.main/triage {:clojure.error/class clojure.lang.ExceptionInfo, :clojure.error/line 158, :clojure.error/cause "Manifest file not found for metrics-clojure/metrics-clojure in coordinate {:git/url \"https://github.com/clj-commons/metrics-clojure\", :deps/root \"metrics-clojure-core\", :git/sha \"532fc437e734b049a54cb9a198f201dc5f47328e\"}", :clojure.error/symbol clojure.tools.deps.extensions/throw-bad-manifest, :clojure.error/source "extensions.clj", :clojure.error/phase :execution}, :clojure.main/trace {:via [{:type clojure.lang.ExceptionInfo, :message "Manifest file not found for metrics-clojure/metrics-clojure in coordinate {:git/url \"https://github.com/clj-commons/metrics-clojure\", :deps/root \"metrics-clojure-core\", :git/sha \"532fc437e734b049a54cb9a198f201dc5f47328e\"}", :data {:lib metrics-clojure/metrics-clojure, :coord {:git/url "https://github.com/clj-commons/metrics-clojure", :deps/root "metrics-clojure-core", :git/sha "532fc437e734b049a54cb9a198f201dc5f47328e"}}, :at [clojure.tools.deps.extensions$throw_bad_manifest invokeStatic "extensions.clj" 158]}], :trace [[clojure.tools.deps.extensions$throw_bad_manifest invokeStatic "extensions.clj" 158] [clojure.tools.deps.extensions$throw_bad_manifest invoke "extensions.clj" 153] [clojure.tools.deps.extensions$eval514$fn__515 invoke "extensions.clj" 166] [clojure.lang.MultiFn invoke "MultiFn.java" 244] [clojure.tools.deps$expand_deps$children_task__682$fn__684$fn__685 invoke "deps.clj" 406] [clojure.lang.AFn applyToHelper "AFn.java" 152] [clojure.lang.AFn applyTo "AFn.java" 144] [clojure.core$apply invokeStatic "core.clj" 667] [clojure.core$with_bindings_STAR_ invokeStatic "core.clj" 1990] [clojure.core$with_bindings_STAR_ doInvoke "core.clj" 1990] [clojure.lang.RestFn invoke "RestFn.java" 425] [clojure.lang.AFn applyToHelper "AFn.java" 156] ...
I think it has something to do with the :deps/root option, I'll take a look.
:deps/root
The following deps.edn doesn't work:
Running
nix run github:jlesquembre/clj-nix#deps-lock
gives the following output: