@@ -81,7 +81,7 @@ nix build -o "$TEST_ROOT/result" "$flake3Dir#sth" --commit-lock-file
8181
8282nix registry add --registry " $registry " flake3 " git+file://$flake3Dir "
8383
84- nix build -o " $TEST_ROOT /result" flake3#fnord
84+ _NIX_TEST_BARF_ON_UNCACHEABLE= ' ' nix build -o " $TEST_ROOT /result" flake3#fnord
8585[[ $( cat " $TEST_ROOT /result" ) = FNORD ]]
8686
8787# Check whether flake input fetching is lazy: flake3#sth does not
@@ -91,16 +91,17 @@ clearStore
9191mv " $flake2Dir " " $flake2Dir .tmp"
9292mv " $nonFlakeDir " " $nonFlakeDir .tmp"
9393nix build -o " $TEST_ROOT /result" flake3#sth
94- (! nix build -o " $TEST_ROOT /result" flake3#xyzzy)
95- (! nix build -o " $TEST_ROOT /result" flake3#fnord)
94+ (! _NIX_TEST_BARF_ON_UNCACHEABLE= ' ' nix build -o " $TEST_ROOT /result" flake3#xyzzy)
95+ (! _NIX_TEST_BARF_ON_UNCACHEABLE= ' ' nix build -o " $TEST_ROOT /result" flake3#fnord)
9696mv " $flake2Dir .tmp" " $flake2Dir "
9797mv " $nonFlakeDir .tmp" " $nonFlakeDir "
98- nix build -o " $TEST_ROOT /result" flake3#xyzzy flake3#fnord
98+ _NIX_TEST_BARF_ON_UNCACHEABLE= ' ' nix build -o " $TEST_ROOT /result" flake3#xyzzy flake3#fnord
9999
100100# Check non-flake inputs have a sourceInfo and an outPath
101101#
102102# This may look redundant, but the other checks below happen in a command
103103# substitution subshell, so failures there will not exit this shell
104+ export _NIX_TEST_BARF_ON_UNCACHEABLE=' ' # FIXME
104105nix eval --raw flake3#inputs.nonFlake.outPath
105106nix eval --raw flake3#inputs.nonFlake.sourceInfo.outPath
106107nix eval --raw flake3#inputs.nonFlakeFile.outPath
0 commit comments