about summary refs log tree commit diff
diff options
context:
space:
mode:
-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 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;
     }