1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-09 12:03:55 +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

@ -1,4 +1,9 @@
{ busybox, seed }:
{ busybox
, seed
# If we want the final derivation output to have references to its
# dependencies. Some tests need/want this, other don't.
, withFinalRefs ? false
}:
with import ./config.nix;
@ -54,6 +59,6 @@ in
''
read x < ${input1}
read y < ${input3}
echo ${input1} ${input3} "$x $y" > $out
echo ${if (builtins.trace withFinalRefs withFinalRefs) then "${input1} ${input3}" else ""} "$x $y" > $out
'';
}