Merge pull request #3213 from singron/fetchurl_test

Replace $TMPDIR with $TEST_ROOT in tests/fetchurl.sh
This commit is contained in:
Eelco Dolstra 2019-11-11 12:15:59 +01:00 committed by GitHub
commit 804910fb0e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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