diff options
author | Shea Levy <shea@shealevy.com> | 2015-02-09T01·44-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2015-02-09T01·44-0500 |
commit | 70cae879e3c3f5c3fba906ba5ec220f84cff1d61 (patch) | |
tree | d2cdbc9462768a1c830a050955dc8a611df28ff1 /scripts/nix-build.in | |
parent | 2be7f79fd42daefc2e240a2202d93cdf1d4a0c49 (diff) |
nix-build: Respect -Q during evaluation
Fixes #474
Diffstat (limited to 'scripts/nix-build.in')
-rwxr-xr-x | scripts/nix-build.in | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index ca43041b77b0..7e1f28870309 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; } |