You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
% nix-build -f https://github.com/lheckemann/numptyphysics/archive/master.zip --store /tmp/nix
[1.1/0.0 MiB DL] downloading 'https://github.com/lheckemann/numptyphysics/archive/master.zip'tar: /nix/store/qmr3gvvb4g0bx6pdk0m7kk16g4zl2avy-master.zip: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[1.1 MiB DL]
error: program 'tar' failed with exit code 2
This seems to be because it attempts to extract the tarball which has been downloaded to /tmp/nix/nix/store/… as if it were in /nix/store/….
The text was updated successfully, but these errors were encountered:
This is fixed in 0995763. Note however that Nix does not support zip files. You need to use master.tar.gz, e.g.
$ nix-build https://github.com/lheckemann/numptyphysics/archive/master.tar.gz --store ~/my-nix/
these derivations will be built:
/nix/store/bwq1rdykgi0i95v6sm8zln5cf45mv82m-numptyphysics.drv
...
This seems to be because it attempts to extract the tarball which has been downloaded to
/tmp/nix/nix/store/…
as if it were in/nix/store/…
.The text was updated successfully, but these errors were encountered: