nixpkgs/pkgs/development/interpreters/perl/sys-perl/default.nix
Eelco Dolstra a78d2f55fb * Perl: set passthru.libPrefix to communicate the relative location of
Perl packages for $PERL5LIB.

svn path=/nixpkgs/trunk/; revision=34061
2012-05-11 13:41:24 +00:00

20 lines
299 B
Nix

{ 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;
}