nix-build: Respect -Q during evaluation

Fixes #474
This commit is contained in:
Shea Levy 2015-02-08 20:44:05 -05:00
parent 2be7f79fd4
commit 70cae879e3

View file

@ -200,6 +200,11 @@ for (my $n = 0; $n < scalar @ARGV; $n++) {
push @buildArgs, $arg; push @buildArgs, $arg;
} }
elsif ($arg eq "-Q" || $arg eq "--no-build-output") {
push @buildArgs, $arg;
push @instArgs, $arg;
}
else { else {
push @exprs, $arg; push @exprs, $arg;
} }