From ed59bf7a181bb382dea7dd72da52bf91f60deb8d Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 23 Jul 2012 17:11:12 -0400 Subject: [PATCH] =?UTF-8?q?nix-build:=20Support=20the=20=E2=80=98-?= =?UTF-8?q?=E2=80=99=20argument=20to=20build=20an=20expression=20from=20st?= =?UTF-8?q?din?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/nix-build.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/nix-build.in b/scripts/nix-build.in index 35b186bb7..afe0679a4 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;