nixos/testing: Don't shadow "lib" in makePerlPath.
Regression introduced by 032f0ffdd03fa4d836825bcbb7e89f1abcf7e57f. The change doesn't look obvious at the first sight why it may cause problems with lib.makePerlPath, but it introduces a Perl package called "lib". And using "with perlPackages;" uses the Perl library "lib" instead of the lib attribute set from pkgs. So let's use pkgs.lib.makePerlPath directly in hope that there won't be a Perl package anytime soon which is called "pkgs". Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
parent
4abc4fa991
commit
fb24c7c95b
@ -28,7 +28,7 @@ rec {
|
||||
|
||||
wrapProgram $out/bin/nixos-test-driver \
|
||||
--prefix PATH : "${qemu_kvm}/bin:${vde2}/bin:${netpbm}/bin:${coreutils}/bin" \
|
||||
--prefix PERL5LIB : "${with perlPackages; lib.makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/lib/perl5/site_perl"
|
||||
--prefix PERL5LIB : "${with perlPackages; pkgs.lib.makePerlPath [ TermReadLineGnu XMLWriter IOTty FileSlurp ]}:$out/lib/perl5/site_perl"
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user