mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
buildEnv: use buildPackages.perl so crossDrv works
This commit is contained in:
parent
6b73c0f198
commit
bd45ec6416
@ -2,7 +2,7 @@
|
||||
# a fork of the buildEnv in the Nix distribution. Most changes should
|
||||
# eventually be merged back into the Nix distribution.
|
||||
|
||||
{ perl, runCommand, lib }:
|
||||
{ buildPackages, runCommand, lib }:
|
||||
|
||||
{ name
|
||||
|
||||
@ -66,6 +66,6 @@ runCommand name
|
||||
passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else null;
|
||||
}
|
||||
''
|
||||
${perl}/bin/perl -w ${./builder.pl}
|
||||
${buildPackages.perl}/bin/perl -w ${./builder.pl}
|
||||
eval "$postBuild"
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user