mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +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.
|
# For each activated package, determine what symlinks to create.
|
||||||
|
|
||||||
my %symlinks;
|
my %symlinks;
|
||||||
$symlinks{""} = ["", 0]; # create root directory
|
|
||||||
|
|
||||||
my %priorities;
|
for my $p (@pathsToLink) {
|
||||||
|
$p = "" if $p eq "/";
|
||||||
|
$symlinks{$p} = ["", 0];
|
||||||
|
}
|
||||||
|
|
||||||
sub findFiles;
|
sub findFiles;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user