diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-07T12·40+0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-10-07T12·40+0200 |
commit | b54f447df9def487317bfcf78628ebf207879c3a (patch) | |
tree | 44320d8cfde11b2a50f0aea670d942f95ce3d6d1 /tests | |
parent | 1abda8e17311fbfc27b751b90aff4f691f496b0f (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 'tests')
0 files changed, 0 insertions, 0 deletions