diff --git a/pkgs/development/compilers/ghc-6.8/default.nix b/pkgs/development/compilers/ghc-6.8/default.nix index 1e1577ea2927..89be993769a3 100644 --- a/pkgs/development/compilers/ghc-6.8/default.nix +++ b/pkgs/development/compilers/ghc-6.8/default.nix @@ -29,6 +29,11 @@ stdenv.mkDerivation (rec { cat $setupHook >> $out/nix-support/setup-hook "; + patch64 = ./x86_64-linux_patch; + + # Thanks to Ian Lynagh ghc now works on x86_64-linux as well + patchPhase = if (stdenv.system == "x86_64-linx") then "patch -p2 < $patch64" else ""; + configureFlags="--with-gmp-libraries=$gmp/lib --with-readline-libraries=\"$readline/lib\""; # the presence of this file makes Cabal cry for happy while generating makefiles ...