Trying to remove more hydra evaluation errors related to gcc.

svn path=/nixpkgs/trunk/; revision=20687
This commit is contained in:
Lluís Batlle i Rossell 2010-03-17 10:17:32 +00:00
parent 6934d0770c
commit 4824ecbb62
2 changed files with 8 additions and 5 deletions

View File

@ -221,7 +221,9 @@ stdenv.mkDerivation ({
];
# Volunteers needed for the {Cyg,Dar}win ports of *PPL.
platforms = stdenv.lib.platforms.linux ++ [ "i686-darwin" ];
# gnatboot is not available out of linux platforms, so we disable the darwin build
# for the gnat (ada compiler).
platforms = stdenv.lib.platforms.linux ++ optionals (langAda == false) [ "i686-darwin" ];
};
}
// (if langVhdl then rec {

View File

@ -1974,8 +1974,8 @@ let
cross = assert crossSystem != null; crossSystem;
};
gcc44_realCross = lib.addMetaAttrs { platforms = []; } (
makeOverridable (import ../development/compilers/gcc-4.4) {
gcc44_realCross = lib.addMetaAttrs { platforms = []; }
(makeOverridable (import ../development/compilers/gcc-4.4) {
inherit stdenv fetchurl texinfo gmp mpfr ppl cloogppl noSysDirs
gettext which;
binutilsCross = binutilsCross;
@ -1990,12 +1990,13 @@ let
});
gccCrossStageStatic = wrapGCCCross {
gcc = forceBuildDrv (gcc44_realCross.override {
gcc = forceBuildDrv (lib.addMetaAttrs { platforms = []; } (
gcc44_realCross.override {
crossStageStatic = true;
langCC = false;
libcCross = null;
enableShared = true;
});
}));
libc = null;
binutils = binutilsCross;
cross = assert crossSystem != null; crossSystem;