Reverting simons' r17618, which causes a major stdenv rebuild.
svn path=/nixpkgs/trunk/; revision=17622
This commit is contained in:
parent
14433eb1e2
commit
e5654ae80f
@ -36,12 +36,8 @@ stdenv.mkDerivation {
|
|||||||
configureFlags="$configureFlags -Dprefix=$out -Dman1dir=$out/share/man/man1 -Dman3dir=$out/share/man/man3"
|
configureFlags="$configureFlags -Dprefix=$out -Dman1dir=$out/share/man/man1 -Dman3dir=$out/share/man/man3"
|
||||||
|
|
||||||
if test "$NIX_ENFORCE_PURITY" = "1"; then
|
if test "$NIX_ENFORCE_PURITY" = "1"; then
|
||||||
case $system in
|
GLIBC=$(cat $NIX_GCC/nix-support/orig-libc)
|
||||||
*-linux) LIBC=$(cat $NIX_GCC/nix-support/orig-libc) ;;
|
configureFlags="$configureFlags -Dlocincpth=$GLIBC/include -Dloclibpth=$GLIBC/lib"
|
||||||
*-darwin) LIBC=/usr ;;
|
|
||||||
*) echo unsupported system $system; exit 1 ;;
|
|
||||||
esac
|
|
||||||
configureFlags="$configureFlags -Dlocincpth=$LIBC/include -Dloclibpth=$LIBC/lib"
|
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,12 +1,8 @@
|
|||||||
source $stdenv/setup
|
source $stdenv/setup
|
||||||
|
|
||||||
if test "$NIX_ENFORCE_PURITY" = "1"; then
|
if test "$NIX_ENFORCE_PURITY" = "1"; then
|
||||||
case $system in
|
GLIBC=$(cat $NIX_GCC/nix-support/orig-libc)
|
||||||
*-linux) LIBC=$(cat $NIX_GCC/nix-support/orig-libc) ;;
|
extraflags="-Dlocincpth=$GLIBC/include -Dloclibpth=$GLIBC/lib"
|
||||||
*-darwin) LIBC=/usr ;;
|
|
||||||
*) echo unsupported system $system; exit 1 ;;
|
|
||||||
esac
|
|
||||||
extraflags="-Dlocincpth=$LIBC/include -Dloclibpth=$LIBC/lib"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
configureScript=./Configure
|
configureScript=./Configure
|
||||||
|
@ -2254,19 +2254,18 @@ let
|
|||||||
inherit (bleedingEdgeRepos) sourceByName;
|
inherit (bleedingEdgeRepos) sourceByName;
|
||||||
};
|
};
|
||||||
|
|
||||||
supportsPerl = stdenv.isLinux || system == "i686-darwin";
|
perl = if !stdenv.isLinux then sysPerl else perlReal;
|
||||||
|
|
||||||
perl = if !supportsPerl then sysPerl else
|
perl58 = if !stdenv.isLinux then sysPerl else
|
||||||
import ../development/interpreters/perl-5.10 {
|
|
||||||
fetchurl = fetchurlBoot;
|
|
||||||
inherit stdenv;
|
|
||||||
};
|
|
||||||
|
|
||||||
perl58 = if !supportsPerl then sysPerl else
|
|
||||||
import ../development/interpreters/perl-5.8 {
|
import ../development/interpreters/perl-5.8 {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
perlReal = import ../development/interpreters/perl-5.10 {
|
||||||
|
fetchurl = fetchurlBoot;
|
||||||
|
inherit 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 {
|
||||||
inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
inherit stdenv fetchurl flex bison libxml2 apacheHttpd;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user