buildEnv: use buildPackages.perl so crossDrv works

+2 -2
+2 -2
pkgs/build-support/buildenv/default.nix
··· 2 2 # a fork of the buildEnv in the Nix distribution. Most changes should 3 3 # eventually be merged back into the Nix distribution. 4 4 5 - { perl, runCommand, lib }: 5 + { buildPackages, runCommand, lib }: 6 6 7 7 { name 8 8 ··· 66 66 passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else null; 67 67 } 68 68 '' 69 - ${perl}/bin/perl -w ${./builder.pl} 69 + ${buildPackages.perl}/bin/perl -w ${./builder.pl} 70 70 eval "$postBuild" 71 71 ''