about summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/nix-build.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index 35b186bb715d..afe0679a47d3 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -118,6 +118,10 @@ EOF
     elsif ($arg eq "--show-trace") {
         push @instArgs, $arg;
     }
+
+    elsif ($arg eq "-") {
+        @exprs = ("-");
+    }
     
     elsif ($arg eq "--verbose" or substr($arg, 0, 2) eq "-v") {
         push @buildArgs, $arg;