forked from lix-project/hydra
Derivations with multiple outputs break the 'link name is store path' assumption
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
c476d13586
commit
6d5a3d0580
|
@ -32,7 +32,7 @@ closedir DIR;
|
||||||
my @actual_roots = ();
|
my @actual_roots = ();
|
||||||
foreach my $link (@roots) {
|
foreach my $link (@roots) {
|
||||||
next if $link eq "." || $link eq "..";
|
next if $link eq "." || $link eq "..";
|
||||||
push @actual_roots, $Nix::Config::storeDir . "/$link";
|
push @actual_roots, readlink "$gcRootsDir/$link";
|
||||||
}
|
}
|
||||||
|
|
||||||
# Don't delete a nix-cache-info file, if present
|
# Don't delete a nix-cache-info file, if present
|
||||||
|
|
Loading…
Reference in a new issue