nixpkgs/pkgs/development/interpreters/perl
Shea Levy 306d5cdf03
perlPackages: Add cross-compilation support.
This involved:

* Installing miniperl as $dev/bin/perl
* Setting miniperl to take INC from
  lib/perl5/{site_perl/,}cross_perl/${version} as well as
  lib/perl5/{site_perl/,}/${version}/${runtimeArch}, in that
  order. miniperl taking from runtimeArch is not really correct, but
  it works in some pure-perl cases (e.g. Config.pm) and can be
  overridden with the cross_perl variant.
* Installing perl-cross's stubs into
  $dev/lib/perl5/cross_perl/${version}
* Patching MakeMaker.pm to gracefully degrade (very slightly) if B.pm
  can't be loaded, which it can't in cross-compilation.
* Passing the right build-time and runtime perls to Makefile.PL
2018-02-28 15:01:32 -05:00
..
cpp-precomp.patch perl: Unify 5.20 and 5.22 expressions 2016-02-27 22:22:26 +01:00
default.nix perlPackages: Add cross-compilation support. 2018-02-28 15:01:32 -05:00
ld-shared.patch perl: Unify 5.20 and 5.22 expressions 2016-02-27 22:22:26 +01:00
MakeMaker-cross.patch perlPackages: Add cross-compilation support. 2018-02-28 15:01:32 -05:00
no-sys-dirs-5.26.patch perl526: init at 5.26.1 2017-12-23 20:26:48 +01:00
no-sys-dirs.patch perl: Unify 5.20 and 5.22 expressions 2016-02-27 22:22:26 +01:00
setup-hook-cross.sh perlPackages: Add cross-compilation support. 2018-02-28 15:01:32 -05:00
setup-hook.sh treewide: Don't use envHook anymore 2017-12-30 22:04:22 -05:00
sw_vers.patch perl: add patch for sw_vers on darwin 2017-04-22 15:29:46 +02:00