* On impure platforms, use the system Perl when perl58 is requested.

svn path=/nixpkgs/trunk/; revision=13030
This commit is contained in:
Eelco Dolstra 2008-10-09 15:39:09 +00:00
parent 92d6f869f2
commit feede5cf62
1 changed files with 4 additions and 3 deletions

View File

@ -1971,9 +1971,10 @@ let
perl = if !stdenv.isLinux then sysPerl else realPerl; perl = if !stdenv.isLinux then sysPerl else realPerl;
perl58 = import ../development/interpreters/perl-5.8 { perl58 = if !stdenv.isLinux then sysPerl else
inherit fetchurl stdenv; import ../development/interpreters/perl-5.8 {
}; inherit fetchurl stdenv;
};
# FIXME: unixODBC needs patching on Darwin (see darwinports) # FIXME: unixODBC needs patching on Darwin (see darwinports)
phpOld = import ../development/interpreters/php { phpOld = import ../development/interpreters/php {