mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
Fix test
This commit is contained in:
parent
b2ae922747
commit
162beb2595
@ -10,7 +10,7 @@ clearStore
|
||||
# Basic test of impure derivations: building one a second time should not use the previous result.
|
||||
printf 0 > $TEST_ROOT/counter
|
||||
|
||||
json=$(nix build -L --no-link --json --file ./impure-derivations.nix impure)
|
||||
json=$(nix build -L --no-link --json --file ./impure-derivations.nix impure.all)
|
||||
path1=$(echo $json | jq -r .[].outputs.out)
|
||||
path1_stuff=$(echo $json | jq -r .[].outputs.stuff)
|
||||
[[ $(< $path1/n) = 0 ]]
|
||||
|
Loading…
Reference in New Issue
Block a user