From 1ec54d2fba03ae4bb4accb419fb09f1ecfd53c32 Mon Sep 17 00:00:00 2001 From: Peter Ferenczy Date: Fri, 20 Aug 2021 15:47:47 +0300 Subject: [PATCH] buildenv: fix regression introduced by #134215 --- pkgs/build-support/buildenv/builder.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/buildenv/builder.pl b/pkgs/build-support/buildenv/builder.pl index 350cb83f7315..ebd6026b2597 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}};