1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 18:31:49 +02:00

Activate hermetic.nix variation only for new layered store tests

This commit is contained in:
John Ericson 2024-02-29 10:06:53 -05:00
parent cb4f85f11c
commit 9b506ff0c1
3 changed files with 12 additions and 7 deletions

View file

@ -65,7 +65,7 @@ initLowerStore () {
nix-store --store "$storeA" --add ../dummy
# Build something in lower store
drvPath=$(nix-instantiate --store $storeA ../hermetic.nix --arg busybox "$busybox" --arg seed 1)
drvPath=$(nix-instantiate --store $storeA ../hermetic.nix --arg withFinalRefs true --arg busybox "$busybox" --arg seed 1)
pathInLowerStore=$(nix-store --store "$storeA" --realise $drvPath)
}