nixpkgs/pkgs/development/interpreters/perl/setup-hook.sh
Yury G. Kudryashov 62676e09eb setup-hooks using addToSearchPath
I've accidentially reverted setup-hooks while merging with trunk. Correcting it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=9821
2007-12-01 20:05:26 +00:00

6 lines
111 B
Bash

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