aboutsummaryrefslogtreecommitdiff
path: root/tests/binary-cache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/binary-cache.sh')
-rw-r--r--tests/binary-cache.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/binary-cache.sh b/tests/binary-cache.sh
index 6697ce236..f8d47170f 100644
--- a/tests/binary-cache.sh
+++ b/tests/binary-cache.sh
@@ -60,7 +60,7 @@ basicDownloadTests
# Test whether Nix notices if the NAR doesn't match the hash in the NAR info.
clearStore
-nar=$(ls $cacheDir/nar/*.nar.xz | head -n1)
+nar=$(ls $cacheDir/nar/*.nar | head -n1)
mv $nar $nar.good
mkdir -p $TEST_ROOT/empty
nix-store --dump $TEST_ROOT/empty | xz > $nar