3
0
Fork 0
forked from mirrors/nixpkgs

nixUnstable: Use Apple-GCC on Darwin.

svn path=/nixpkgs/trunk/; revision=33920
This commit is contained in:
Ludovic Courtès 2012-04-25 14:25:34 +00:00
parent 75f636067e
commit 95d60d6938

View file

@ -8512,6 +8512,11 @@ let
nixUnstable = callPackage ../tools/package-management/nix/unstable.nix { nixUnstable = callPackage ../tools/package-management/nix/unstable.nix {
storeDir = getConfig [ "nix" "storeDir" ] "/nix/store"; storeDir = getConfig [ "nix" "storeDir" ] "/nix/store";
stateDir = getConfig [ "nix" "stateDir" ] "/nix/var"; stateDir = getConfig [ "nix" "stateDir" ] "/nix/var";
stdenv =
if stdenv.isDarwin
# When building the Perl bindings, `-no-cpp-precomp' is used.
then overrideGCC stdenv gccApple
else stdenv;
}; };
nixSqlite = nixUnstable; nixSqlite = nixUnstable;