This website requires JavaScript.
Explore
Help
Sign in
cafkafk
/
nixpkgs
Watch
1
Star
0
Fork
You've already forked nixpkgs
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
2
a70180ba73
nixpkgs
/
pkgs
/
development
/
interpreters
/
perl
/
5.10
/
setup-hook.sh
6 lines
102 B
Bash
Raw
Normal View
History
Unescape
Escape
* Set PERL5LIB automatically in the Perl setup hook. * Remove explicit setting of PERL5LIB. * Use the generic Perl builder for the BerkeleyDB and XML::Parser modules. * Prefix all names of Perl modules with `perl-' (in the generic Perl builder). svn path=/nixpkgs/trunk/; revision=2365
2005-03-10 13:49:37 +01:00
addPerlLibPath
(
)
{
* Install Perl modules in $out/lib/perl5. This is what Perl wants by default, but it didn't happen in Nixpkgs because the string "perl" appeared in the prefix, and in that case Perl uses $out/lib. * Enable thread-safe Perl while we're at it. svn path=/nixpkgs/branches/stdenv-updates/; revision=15252
2009-04-22 19:37:21 +02:00
addToSearchPath PERL5LIB
$1
/lib/perl5/site_perl
* Set PERL5LIB automatically in the Perl setup hook. * Remove explicit setting of PERL5LIB. * Use the generic Perl builder for the BerkeleyDB and XML::Parser modules. * Prefix all names of Perl modules with `perl-' (in the generic Perl builder). svn path=/nixpkgs/trunk/; revision=2365
2005-03-10 13:49:37 +01:00
}
Cleanup: Use += to append to envHooks
2014-07-08 14:20:05 +02:00
envHooks
+=
(
addPerlLibPath
)
Reference in a new issue
Copy permalink