···22# a fork of the buildEnv in the Nix distribution. Most changes should
33# eventually be merged back into the Nix distribution.
4455-{ perl, runCommand, lib }:
55+{ buildPackages, runCommand, lib }:
6677{ name
88···6666 passAsFile = if builtins.stringLength pkgs >= 128*1024 then [ "pkgs" ] else null;
6767 }
6868 ''
6969- ${perl}/bin/perl -w ${./builder.pl}
6969+ ${buildPackages.perl}/bin/perl -w ${./builder.pl}
7070 eval "$postBuild"
7171 ''