diff --git a/corepkgs/buildenv/builder.pl b/corepkgs/buildenv/builder.pl
index 144ad3374b83720a5a626661985d115cf03b077e..3bbb178c85706cd161b52e737e845f2f241e4d33 100755
--- a/corepkgs/buildenv/builder.pl
+++ b/corepkgs/buildenv/builder.pl
@@ -18,7 +18,7 @@ sub createLinks {
         my $basename = $srcfile;
         $basename =~ s/^.*\///g; # strip directory
         my $dstfile = "$dstdir/$basename";
-	if ($srcfile =~ /\/envpkgs$/) {
+	if ($srcfile =~ /\/propagated-build-inputs$/) {
 	} elsif (-d $srcfile) {
             # !!! hack for resolving name clashes
             if (!-e $dstfile) {