mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
nix-shell: Don't warn about the lack of a GC root
This commit is contained in:
parent
0c1198cf08
commit
769f662165
2 changed files with 6 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue