Process nix.conf options in "new" nix commands, add test.
Without this (minor) change, the options set using "--option" or read from nix.conf were parsed but not used.
This commit is contained in:
parent
d8ff3aaae7
commit
30f89e0d65
2 changed files with 6 additions and 0 deletions
|
@ -29,3 +29,8 @@ if nix-build timeout.nix -A closeLog; then
|
|||
echo "build should have failed"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if nix build -f timeout.nix silent --option build-max-silent-time 2; then
|
||||
echo "build should have failed"
|
||||
exit 1
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue