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

Error during installation: nix-data-0.0.2, no corresponding git dependency #15

Closed
toadharvard opened this issue Jan 5, 2024 · 1 comment

Comments

@toadharvard
Copy link

toadharvard commented Jan 5, 2024

Fresh Ubuntu WSL with nix installled with nix-installer

Log:

❯ nix profile install github:snowfallorg/snow --show-trace
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'snow-0.0.2'
         whose name attribute is located at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/stdenv/generic/make-derivation.nix:286:7

       … while evaluating attribute 'cargoDeps' of derivation 'snow-0.0.2'

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/build-support/rust/build-rust-package/default.nix:106:10:

          105| } // {
          106|   inherit buildAndTestSubdir cargoDeps;
             |          ^
          107|while evaluating derivation 'cargo-vendor-dir'
         whose name attribute is located at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/stdenv/generic/make-derivation.nix:286:7

       … while evaluating attribute 'buildCommand' of derivation 'cargo-vendor-dir'

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/build-support/trivial-builders.nix:87:14:

           86|       enableParallelBuilding = true;
           87|       inherit buildCommand name;
             |              ^
           88|       passAsFile = [ "buildCommand" ]

       … from call site

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/pkgs/build-support/rust/import-cargo-lock.nix:71:22:

           70|   # individually.
           71|   gitShaOutputHash = lib.mapAttrs' (nameVer: hash:
             |                      ^
           72|     let

       … while calling 'mapAttrs''

         at /nix/store/f6jk9gi6i92ngcbkcz8z2d7gvkksciw1-source/lib/attrsets.nix:458:5:

          457|     # Attribute set to map over.
          458|     set:
             |     ^
          459|     listToAttrs (map (attr: f attr set.${attr}) (attrNames set));

       error: A hash was specified for nix-data-0.0.2, but there is no corresponding git dependency.

I think that exception appears because of migrating to snowfallorg.

@vlinkz
Copy link
Contributor

vlinkz commented Jan 8, 2024

Should be fixed in bb99e67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants