aboutsummaryrefslogtreecommitdiff
path: root/tests/fetchurl.sh
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2020-06-12 15:33:24 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2020-06-12 15:33:24 -0500
commit006f1252d2fdb36c7ee66bf79f0df2ab8cd16816 (patch)
tree2eea6b1e86cb44c6ea86476622fbabd3750fec5d /tests/fetchurl.sh
parent88120442d23a7e00833e8b0d523a6aa8072287b3 (diff)
Fix SRI test
We can’t use custom name here because different names will have different store paths. This is a limitation of the Store API’s reliance on store paths. We might be able to get around the above in the future by using a dummy name for certain fixed output paths.
Diffstat (limited to 'tests/fetchurl.sh')
-rw-r--r--tests/fetchurl.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fetchurl.sh b/tests/fetchurl.sh
index 510f98843..f4b86d251 100644
--- a/tests/fetchurl.sh
+++ b/tests/fetchurl.sh
@@ -42,7 +42,7 @@ outPath=$(nix-build '<nix/fetchurl.nix>' --argstr url file:///no-such-dir/fetchu
# Test hashed mirrors with an SRI hash.
nix-build '<nix/fetchurl.nix>' --argstr url file:///no-such-dir/fetchurl.sh --argstr hash $(nix to-sri --type sha256 $hash) \
- --argstr name bla --no-out-link --substituters $other_store
+ --no-out-link --substituters $other_store
# Test unpacking a NAR.
rm -rf $TEST_ROOT/archive