diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-20T12·10+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2013-12-20T12·10+0100 |
commit | 65a64522403f353880a501b02aca10fb96ea1c26 (patch) | |
tree | 2cf1368446a4ba460d1320d009a9d9c59dd9fa3a /scripts/nix-build.in | |
parent | 7b0d8fb23d9c71f1efb119c1f267124349c82742 (diff) |
nix-shell: Handle --option correctly
Fixes #181.
Diffstat (limited to 'scripts/nix-build.in')
-rwxr-xr-x | scripts/nix-build.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in index aaab0ce4db8b..b3f12b7062ed 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. |