Merge pull request #27427 from ttuegel/bugfix/buildenv-propagated
buildenv: read propagated-user-env-packages line-by-line
This commit is contained in:
commit
54520fce77
@ -141,12 +141,11 @@ sub addPkg {
|
||||
my $propagatedFN = "$pkgDir/nix-support/propagated-user-env-packages";
|
||||
if (-e $propagatedFN) {
|
||||
open PROP, "<$propagatedFN" or die;
|
||||
my $propagated = <PROP>;
|
||||
close PROP;
|
||||
my @propagated = split ' ', $propagated;
|
||||
foreach my $p (@propagated) {
|
||||
while (my $p = <PROP>) {
|
||||
chomp $p;
|
||||
$postponed{$p} = 1 unless defined $done{$p};
|
||||
}
|
||||
close PROP;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user