nixpkgs/pkgs/development/interpreters/perl-5.10/setup-hook.sh

6 lines
116 B
Bash

addPerlLibPath () {
addToSearchPath PERL5LIB $1/lib/perl5/site_perl
}
envHooks=(${envHooks[@]} addPerlLibPath)