cygwin: build perl as usual, no sysPerl
This commit is contained in:
committed by
Rok Garbas
parent
88e58a4fa2
commit
ebf6d98fc2
@@ -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;
|
||||
}
|
||||
@@ -1,5 +0,0 @@
|
||||
addPerlLibPath () {
|
||||
addToSearchPath PERL5LIB $1/@libPrefix@
|
||||
}
|
||||
|
||||
envHooks+=(addPerlLibPath)
|
||||
Reference in New Issue
Block a user