aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-20 13:10:14 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-20 13:10:14 +0100
commit65a64522403f353880a501b02aca10fb96ea1c26 (patch)
tree2cf1368446a4ba460d1320d009a9d9c59dd9fa3a /scripts
parent7b0d8fb23d9c71f1efb119c1f267124349c82742 (diff)
nix-shell: Handle --option correctly
Fixes #181.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/nix-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index aaab0ce4d..b3f12b706 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -177,7 +177,7 @@ foreach my $expr (@exprs) {
# Build or fetch all dependencies of the derivation.
my @inputDrvs = grep { my $x = $_; (grep { $x =~ $_ } @envExclude) == 0 } @{$drv->{inputDrvs}};
- system("$Nix::Config::binDir/nix-store -r @buildArgs @inputDrvs @{$drv->{inputSrcs}} > /dev/null") == 0
+ system("$Nix::Config::binDir/nix-store", "-r", "--no-output", @buildArgs, @inputDrvs, @{$drv->{inputSrcs}}) == 0
or die "$0: failed to build all dependencies\n";
# Set the environment.