nixpkgs/pkgs/development/interpreters/perl/setup-hook.sh
Eelco Dolstra e12b421add * Merged most of the stdenv-updates branch. Some stuff didn't
merge cleanly right away (kde-4, kernel stuff) so it should be
  merged later.  But the stdenv stuff is all there.

svn path=/nixpkgs/branches/stdenv-updates-merge/; revision=10793
2008-02-20 23:02:41 +00:00

6 lines
114 B
Bash

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