mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 13:57:10 +03:00
buildEnv: Fix handling of empty list of packages
This commit is contained in:
parent
87789ac39d
commit
e2a9541efc
@ -29,9 +29,11 @@ sub isInPathsToLink {
|
||||
# For each activated package, determine what symlinks to create.
|
||||
|
||||
my %symlinks;
|
||||
$symlinks{""} = ["", 0]; # create root directory
|
||||
|
||||
my %priorities;
|
||||
for my $p (@pathsToLink) {
|
||||
$p = "" if $p eq "/";
|
||||
$symlinks{$p} = ["", 0];
|
||||
}
|
||||
|
||||
sub findFiles;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user