mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
19 lines
510 B
Bash
19 lines
510 B
Bash
|
source common.sh
|
||
|
|
||
|
clearStore
|
||
|
|
||
|
nix-build dependencies.nix --no-out-link
|
||
|
nix-build dependencies.nix --no-out-link --check
|
||
|
|
||
|
nix-build check.nix -A nondeterministic --no-out-link
|
||
|
(! nix-build check.nix -A nondeterministic --no-out-link --check 2> $TEST_ROOT/log)
|
||
|
grep 'may not be deterministic' $TEST_ROOT/log
|
||
|
|
||
|
clearStore
|
||
|
|
||
|
nix-build dependencies.nix --no-out-link --repeat 3
|
||
|
|
||
|
(! nix-build check.nix -A nondeterministic --no-out-link --repeat 1 2> $TEST_ROOT/log)
|
||
|
grep 'differs from previous round' $TEST_ROOT/log
|
||
|
|