1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-10 04:43:53 +02:00

Try to fix quotes that don't go to end with sed

This commit is contained in:
John Ericson 2024-06-12 12:42:38 -04:00
parent 1afac8fbbc
commit d8ae28617d
11 changed files with 16 additions and 16 deletions

View file

@ -20,8 +20,8 @@ outPath=$(nix-build ../hermetic.nix --no-out-link --arg busybox "$busybox" --arg
# Set a GC root.
mkdir -p "$stateB"
rm -f "$stateB"/gcroots/foo
ln -sf $outPath "$stateB"/gcroots/foo
rm -f "$stateB/gcroots/foo"
ln -sf $outPath "$stateB/gcroots/foo"
[ "$(nix-store -q --roots $outPath)" = "$stateB/gcroots/foo -> $outPath" ]
@ -46,7 +46,7 @@ nix-collect-garbage
# Check that the root and its dependencies haven't been deleted.
cat "$storeBRoot/$outPath"
rm "$stateB"/gcroots/foo
rm "$stateB/gcroots/foo"
nix-collect-garbage