buildEnv: add new parameters: extraPrefix and buildInputs

This commit is contained in:
Vladimír Čunát
2015-09-17 17:43:18 +02:00
parent bab211893b
commit fa33b083eb
2 changed files with 10 additions and 3 deletions
+2 -1
View File
@@ -142,10 +142,11 @@ while (scalar(keys %postponed) > 0) {
# Create the symlinks.
my $extraPrefix = $ENV{"extraPrefix"};
my $nrLinks = 0;
foreach my $relName (sort keys %symlinks) {
my ($target, $priority) = @{$symlinks{$relName}};
my $abs = "$out/$relName";
my $abs = "$out" . "$extraPrefix" . "/$relName";
next unless isInPathsToLink $relName;
if ($target eq "") {
#print "creating directory $relName\n";