mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
a78d2f55fb
Perl packages for $PERL5LIB. svn path=/nixpkgs/trunk/; revision=34061
20 lines
299 B
Nix
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;
|
|
}
|