mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Revert "narinfo: Change NAR URLs to be addressed on the NAR hash instead of the compressed hash"
This commit is contained in:
parent
ee3846b587
commit
f2245091d0
2 changed files with 6 additions and 2 deletions
|
@ -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 | head -n1)
|
||||
nar=$(ls $cacheDir/nar/*.nar.xz | head -n1)
|
||||
mv $nar $nar.good
|
||||
mkdir -p $TEST_ROOT/empty
|
||||
nix-store --dump $TEST_ROOT/empty | xz > $nar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue