1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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 {
storeDir = getConfig [ "nix" "storeDir" ] "/nix/store";
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;