summary refs log tree commit diff
path: root/pkgs/build-support/buildenv/builder.pl
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-09-17 17:43:18 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-09-17 17:43:18 +0200
commitfa33b083eb8f08f532e67efac264c866fb08bf51 (patch)
tree8203a2b46c646516b50d060dbe32261b00fd1519 /pkgs/build-support/buildenv/builder.pl
parentbab211893bf3e03abb8843d7478628411acd05af (diff)
downloadnixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.tar
nixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.tar.gz
nixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.tar.bz2
nixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.tar.lz
nixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.tar.xz
nixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.tar.zst
nixpkgs-fa33b083eb8f08f532e67efac264c866fb08bf51.zip
buildEnv: add new parameters: extraPrefix and buildInputs
Diffstat (limited to 'pkgs/build-support/buildenv/builder.pl')
-rwxr-xr-xpkgs/build-support/buildenv/builder.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/build-support/buildenv/builder.pl b/pkgs/build-support/buildenv/builder.pl
index a272a84261e..fd8098caf13 100755
--- a/pkgs/build-support/buildenv/builder.pl
+++ b/pkgs/build-support/buildenv/builder.pl
@@ -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";