Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/development/interpreters/perl/5.10/setup-hook.sh

6 lines
116 B
Bash
Raw Normal View History

* 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 12:49:37 +00: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 17:37:21 +00: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 12:49:37 +00:00
}
envHooks=(${envHooks[@]} addPerlLibPath)
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 461ms Template: 5ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API