Branch: refs/heads/master
Home: https://github.com/NixOS/nix
Commit: b54f447df9def487317bfcf78628ebf207879c3a
https://github.com/NixOS/nix/commit/b54f447df9def487317bfcf78628ebf207879c3a
Author: Eelco Dolstra <[email protected]>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M doc/manual/command-ref/nix-prefetch-url.xml
M src/nix-prefetch-url/nix-prefetch-url.cc
Log Message:
-----------
nix-prefetch-url: Support unpacking tarballs
This allows nix-prefetch-url to prefetch the output of fetchzip and
its wrappers (like fetchFromGitHub). For example:
$ nix-prefetch-url --unpack
https://github.com/NixOS/patchelf/archive/0.8.tar.gz
or from a Nix expression:
$ nix-prefetch-url -A nix-repl.src
In the latter case, --unpack can be omitted because nix-repl.src is a
fetchFromGitHub derivation and thus has "outputHashMode" set to
"recursive".
Commit: e4abf8610be3d9f3023a538460f87be8f31bca2d
https://github.com/NixOS/nix/commit/e4abf8610be3d9f3023a538460f87be8f31bca2d
Author: Eelco Dolstra <[email protected]>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M src/nix-prefetch-url/nix-prefetch-url.cc
Log Message:
-----------
nix-prefetch-url -A: Use "name" attribute from Nix expression
This is in particular useful for fetchFromGitHub et al., ensuring that
the store path produced by nix-prefetch-url corresponds to what those
functions expect.
Commit: f08449ccbd2009b858aae18341aedf3d0829b91a
https://github.com/NixOS/nix/commit/f08449ccbd2009b858aae18341aedf3d0829b91a
Author: Eelco Dolstra <[email protected]>
Date: 2015-10-07 (Wed, 07 Oct 2015)
Changed paths:
M doc/manual/command-ref/nix-prefetch-url.xml
M src/nix-prefetch-url/nix-prefetch-url.cc
Log Message:
-----------
nix-prefetch-url: Add --name option
This allows overriding the name component of the resulting Nix store
path, which is necessary if the base name of the URI contains
"illegal" characters.
Compare: https://github.com/NixOS/nix/compare/1abda8e17311...f08449ccbd20_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits