diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-12-04 00:58:09 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-12-04 00:59:24 +0100 |
commit | f337aa70998141ccfaa956e9f670152dbb15b385 (patch) | |
tree | 7563c50f1cc90ea34ca45bd66d8962d4c9fff6bc /tests | |
parent | 8df58eae4c6f074b8e33a5bcb0c73b6700e34d5a (diff) |
Split 'nix store add-to-store' into 'add-path' and 'add-file'
This makes it consistent with 'nix hash <path|file>'.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fetchurl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetchurl.sh b/tests/fetchurl.sh index 7ec25808c..10ec0173a 100644 --- a/tests/fetchurl.sh +++ b/tests/fetchurl.sh @@ -36,7 +36,7 @@ other_store=file://$TEST_ROOT/other_store?store=/fnord/store hash=$(nix hash file --type sha256 --base16 ./fetchurl.sh) -storePath=$(nix --store $other_store store add-path --flat ./fetchurl.sh) +storePath=$(nix --store $other_store store add-file ./fetchurl.sh) outPath=$(nix-build '<nix/fetchurl.nix>' --argstr url file:///no-such-dir/fetchurl.sh --argstr sha256 $hash --no-out-link --substituters $other_store) |