nixpkgs-suyu/pkgs/development/interpreters/perl/5.8/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
110 B
Bash

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