cygwin: build perl as usual, no sysPerl

This commit is contained in:
Florian Friesdorf
2014-10-23 16:14:48 +02:00
committed by Rok Garbas
parent 88e58a4fa2
commit ebf6d98fc2
3 changed files with 1 additions and 27 deletions

View File

@@ -1,19 +0,0 @@
{ stdenv }:
stdenv.mkDerivation rec {
name = "perl";
unpackPhase = "true";
installPhase =
''
mkdir -p $out/bin
ln -s /usr/bin/perl $out/bin
'';
setupHook = ./setup-hook.sh;
libPrefix = "lib/perl5/site_perl/5.10/i686-cygwin";
passthru.libPrefix = libPrefix;
}

View File

@@ -1,5 +0,0 @@
addPerlLibPath () {
addToSearchPath PERL5LIB $1/@libPrefix@
}
envHooks+=(addPerlLibPath)