From 30f89e0d6564394747e20e04d486b81aeec96752 Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Wed, 5 Apr 2017 07:34:10 -0500 Subject: 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. --- tests/timeout.sh | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests/timeout.sh') diff --git a/tests/timeout.sh b/tests/timeout.sh index ce1ae7d674a1..77b227e89ba5 100644 --- a/tests/timeout.sh +++ b/tests/timeout.sh @@ -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 -- cgit 1.4.1