nixpkgs-suyu/pkgs/development/interpreters/perl/5.10/setup-hook.sh
Eelco Dolstra 20ab6cfbf7 * Move perl-5.8 and perl-5.10 into perl/ per the coding conventions.
svn path=/nixpkgs/branches/stdenv-updates/; revision=30055
2011-10-27 15:35:43 +00:00

5 lines
116 B
Bash

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