nixpkgs/pkgs/development/interpreters/perl/sys-perl/setup-hook.sh
Eelco Dolstra 08b6b9fa3a * Cygwin: provide a Perl setup hook so that Perl dependencies work
properly.

svn path=/nixpkgs/trunk/; revision=34002
2012-05-07 02:06:29 +00:00

6 lines
133 B
Bash

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