Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manifest file not found error #108

Open
mjmeintjes opened this issue Dec 21, 2023 · 1 comment · May be fixed by #120
Open

Manifest file not found error #108

mjmeintjes opened this issue Dec 21, 2023 · 1 comment · May be fixed by #120
Labels
bug Something isn't working

Comments

@mjmeintjes
Copy link

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:

{: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]
...
@jlesquembre
Copy link
Owner

I think it has something to do with the :deps/root option, I'll take a look.

@jlesquembre jlesquembre added the bug Something isn't working label Dec 30, 2023
mjmeintjes added a commit to mjmeintjes/clj-nix that referenced this issue Apr 27, 2024
mjmeintjes added a commit to mjmeintjes/clj-nix that referenced this issue Apr 27, 2024
@mjmeintjes mjmeintjes linked a pull request May 1, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants