about summary refs log tree commit diff
path: root/perl/lib
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-07T12·40+0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2015-10-07T12·40+0200
commitb54f447df9def487317bfcf78628ebf207879c3a (patch)
tree44320d8cfde11b2a50f0aea670d942f95ce3d6d1 /perl/lib
parent1abda8e17311fbfc27b751b90aff4f691f496b0f (diff)
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".
Diffstat (limited to 'perl/lib')
0 files changed, 0 insertions, 0 deletions