GNU Readline 6.x: Build with Apple-GCC on Darwin.

svn path=/nixpkgs/trunk/; revision=33899
This commit is contained in:
Ludovic Courtès 2012-04-23 23:04:05 +00:00
parent daf8c7fced
commit d4f26f65d9

View File

@ -4644,7 +4644,14 @@ let
readline5 = callPackage ../development/libraries/readline/readline5.nix { };
readline6 = callPackage ../development/libraries/readline/readline6.nix { };
readline6 = callPackage ../development/libraries/readline/readline6.nix {
stdenv =
# On Darwin, Readline uses `-arch_only', which is specific to
# Apple-GCC. So give it what it expects.
if stdenv.isDarwin
then overrideGCC stdenv gccApple
else stdenv;
};
librdf_raptor = callPackage ../development/libraries/librdf/raptor.nix { };