mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02: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
|
||
|
|