From 5540b2e7b41c375d56db6b3180b09d9607e7c05b Mon Sep 17 00:00:00 2001 From: volth Date: Mon, 20 Jan 2020 18:11:00 +0000 Subject: [PATCH] perl.withPackages: respect $PERL5LIB perl.withPackages did not allow to add more packages using $PERL5LIB --- pkgs/development/interpreters/perl/wrapper.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/interpreters/perl/wrapper.nix b/pkgs/development/interpreters/perl/wrapper.nix index 95122aebf039..2e3d394f8515 100644 --- a/pkgs/development/interpreters/perl/wrapper.nix +++ b/pkgs/development/interpreters/perl/wrapper.nix @@ -35,7 +35,7 @@ let if [ -f "$prg" ]; then rm -f "$out/bin/$prg" if [ -x "$prg" ]; then - makeWrapper "$path/bin/$prg" "$out/bin/$prg" --set PERL5LIB "$out/${perl.libPrefix}" + makeWrapper "$path/bin/$prg" "$out/bin/$prg" --suffix PERL5LIB ':' "$out/${perl.libPrefix}" fi fi done