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

6 lines
102 B
Bash

addPerlLibPath () {
addToSearchPath PERL5LIB $1/lib/perl5/site_perl
}
envHooks+=(addPerlLibPath)