dcc7ea5498
Also fix typos introduced by the commits I read. I have run the addDrvOutputDependencies release note past Ericson since I was confused by what the heck it was doing, and he was saying it was reasonable. Change-Id: Id015353b00938682f7faae7de43df7f991a5237e
686 B
686 B
synopsis | prs | cls | credits | category | ||
---|---|---|---|---|---|---|
Add an option `--unpack` to unpack archives in `nix store prefetch-file` | 9805 | 224 |
|
Improvements |
It is now possible to fetch an archive then NAR-hash it (as in, hash it in the
same manner as builtins.fetchTarball
or fixed-output derivations with
recursive hash type) in one command.
Example:
~ » nix store prefetch-file --name source --unpack https://git.lix.systems/lix-project/lix/archive/2.90-beta.1.tar.gz
Downloaded 'https://git.lix.systems/lix-project/lix/archive/2.90-beta.1.tar.gz' to '/nix/store/yvfqnq52ryjc3janw02ziv7kr6gd0cs1-source' (hash 'sha256-REWlo2RYHfJkxnmZTEJu3Cd/2VM+wjjpPy7Xi4BdDTQ=').