aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2019-11-11 12:15:59 +0100
committerGitHub <noreply@github.com>2019-11-11 12:15:59 +0100
commit804910fb0eeb6a14ec8d6f98c7fd219da8d04581 (patch)
tree195145208cbab5826347197b5e950b276ec935be
parent5ee23c35b9db79e1ce3a8954e91a7c18d295d917 (diff)
parent6c041e84139fc06110f38d940d6117badcc1fd0a (diff)
Merge pull request #3213 from singron/fetchurl_test
Replace $TMPDIR with $TEST_ROOT in 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 7319ced2b..2535651b0 100644
--- a/tests/fetchurl.sh
+++ b/tests/fetchurl.sh
@@ -35,7 +35,7 @@ clearStore
hash=$(nix hash-file --type sha512 --base64 ./fetchurl.sh)
hash32=$(nix hash-file --type sha512 --base16 ./fetchurl.sh)
-mirror=$TMPDIR/hashed-mirror
+mirror=$TEST_ROOT/hashed-mirror
rm -rf $mirror
mkdir -p $mirror/sha512
ln -s $(pwd)/fetchurl.sh $mirror/sha512/$hash32