about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-20T12·19+0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2013-12-20T12·19+0000
commit769f66216504cd882ac7b6bdfa0dd1ff26f3efe5 (patch)
tree0a96a5f349ab1326d41547cd7a0578f06c62ec93 /scripts
parent0c1198cf08576f16633b2344dc6513cefb567cfc (diff)
nix-shell: Don't warn about the lack of a GC root
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 60e8afec8ee2..fe22058f6207 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -179,7 +179,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", "--no-output", @buildArgs, @inputDrvs, @{$drv->{inputSrcs}}) == 0
+        system("$Nix::Config::binDir/nix-store", "-r", "--no-output", "--no-gc-warning", @buildArgs, @inputDrvs, @{$drv->{inputSrcs}}) == 0
             or die "$0: failed to build all dependencies\n";
 
         # Set the environment.