nixpkgs/pkgs/development/interpreters/perl-5.8/setup-hook.sh
Eelco Dolstra 6b9ccbaf78 * setup.sh: turn on nullglob globally.
* setup.sh: removed some obsolete features, specifically some that
  were only used by the old build farm.
* addToSearchPath: removed some parameters that weren't used
  anywhere.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15136
2009-04-18 22:22:51 +00:00

5 lines
110 B
Bash

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