aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2015-02-08 20:44:05 -0500
committerShea Levy <shea@shealevy.com>2015-02-08 20:44:05 -0500
commit70cae879e3c3f5c3fba906ba5ec220f84cff1d61 (patch)
treed2cdbc9462768a1c830a050955dc8a611df28ff1
parent2be7f79fd42daefc2e240a2202d93cdf1d4a0c49 (diff)
nix-build: Respect -Q during evaluation
Fixes #474
-rwxr-xr-xscripts/nix-build.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index ca43041b7..7e1f28870 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -200,6 +200,11 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
push @buildArgs, $arg;
}
+ elsif ($arg eq "-Q" || $arg eq "--no-build-output") {
+ push @buildArgs, $arg;
+ push @instArgs, $arg;
+ }
+
else {
push @exprs, $arg;
}