1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00

Merge branch 'staging'

This commit is contained in:
Eelco Dolstra 2014-08-09 23:41:58 +02:00
commit 40602a666c
3 changed files with 7 additions and 9 deletions

View file

@ -45,5 +45,5 @@ stdenv.mkDerivation rec {
buildInputs = stdenv.lib.optionals langF77 [ gmp mpfr bison flex ];
meta.broken = true;
#meta.broken = true;
}

View file

@ -47,7 +47,7 @@ cmakeConfigurePhase() {
eval "$postConfigure"
}
if [ -z "$dontUseCmakeConfigure" -a ! -v configurePhase ]; then
if [ -z "$dontUseCmakeConfigure" -a -z "$configurePhase" ]; then
configurePhase=cmakeConfigurePhase
fi

View file

@ -231,6 +231,8 @@ let
else
defaultStdenv;
stdenvApple = stdenvAdapters.overrideGCC allStdenvs.stdenvNative gccApple;
forceNativeDrv = drv : if crossSystem == null then drv else
(drv // { crossDrv = drv.nativeDrv; });
@ -2569,10 +2571,8 @@ let
};
clangUnwrapped = llvm: pkg: callPackage pkg {
stdenv = if stdenv.isDarwin
then stdenvAdapters.overrideGCC stdenv gccApple
else stdenv;
llvm = llvm;
stdenv = if stdenv.isDarwin then stdenvApple else stdenv;
inherit llvm;
};
clangSelf = clangWrapSelf llvmPackagesSelf.clang;
@ -3086,9 +3086,7 @@ let
llvm_33 = llvm_v ../development/compilers/llvm/3.3/llvm.nix;
llvm_v = path: callPackage path {
stdenv = if stdenv.isDarwin
then stdenvAdapters.overrideGCC stdenv gccApple
else stdenv;
stdenv = if stdenv.isDarwin then stdenvApple else stdenv;
};
llvmPackages = if !stdenv.isDarwin then llvmPackages_34 else llvmPackages_34 // {