summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Ferenczy <ggpeti@gmail.com>2021-08-20 15:47:47 +0300
committerGitHub <noreply@github.com>2021-08-20 15:47:47 +0300
commit1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32 (patch)
tree935ff59cb29a283132e558e01c62c574269634bc
parentf45fa31ab2a438ba75c3c40cf411c9c6293d1039 (diff)
downloadnixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.tar
nixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.tar.gz
nixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.tar.bz2
nixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.tar.lz
nixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.tar.xz
nixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.tar.zst
nixpkgs-1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32.zip
buildenv: fix regression introduced by #134215
-rwxr-xr-xpkgs/build-support/buildenv/builder.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/buildenv/builder.pl b/pkgs/build-support/buildenv/builder.pl
index 350cb83f731..ebd6026b259 100755
--- a/pkgs/build-support/buildenv/builder.pl
+++ b/pkgs/build-support/buildenv/builder.pl
@@ -14,6 +14,7 @@ $SIG{__WARN__} = sub { warn "warning: ", @_ };
 $SIG{__DIE__}  = sub { die "error: ", @_ };
 
 my $out = $ENV{"out"};
+my $extraPrefix = $ENV{"extraPrefix"};
 
 my @pathsToLink = split ' ', $ENV{"pathsToLink"};
 
@@ -256,7 +257,6 @@ 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}};