From 95d60d69384f25e7b0112142b85f6bec2c1a8114 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 25 Apr 2012 14:25:34 +0000 Subject: [PATCH] nixUnstable: Use Apple-GCC on Darwin. svn path=/nixpkgs/trunk/; revision=33920 --- pkgs/top-level/all-packages.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index ea767ac4b9bf..f52711eaf532 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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;