* Support for building GHC 6.8 on Darwin.

svn path=/nixpkgs/trunk/; revision=9942
This commit is contained in:
Eelco Dolstra 2007-12-14 21:30:03 +00:00
parent e9536180f1
commit ae979c46a9

View file

@ -13,7 +13,7 @@ stdenv.mkDerivation (rec {
}
];
buildInputs = [ghc readline perl m4];
buildInputs = [ghc readline perl m4 gmp];
setupHook = ./setup-hook.sh;
@ -29,7 +29,7 @@ stdenv.mkDerivation (rec {
cat $setupHook >> $out/nix-support/setup-hook
";
configureFlags="--with-gmp-libraries=${gmp}/lib --with-readline-libraries=${readline}/lib";
configureFlags="--with-gmp-libraries=${gmp}/lib --with-gmp-includes=${gmp}/include";
preConfigure = "
# still requires a hack for ncurses