mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-22 14:45:27 +00:00
* fixed libraries/core packages for ghc-6.8
svn path=/nixpkgs/trunk/; revision=9908
This commit is contained in:
parent
6bcfbb2aaa
commit
4015abfb18
|
@ -34,12 +34,13 @@ stdenv.mkDerivation (rec {
|
|||
# Thanks to Ian Lynagh ghc now works on x86_64-linux as well
|
||||
patchPhase = if (stdenv.system == "x86_64-linux") then "patch -p2 < $patch64" else "";
|
||||
|
||||
configureFlags="--with-gmp-libraries=$gmp/lib --with-readline-libraries=\"$readline/lib\"";
|
||||
configureFlags="--with-gmp-libraries=${gmp}/lib --with-readline-libraries=${readline}/lib";
|
||||
|
||||
# the presence of this file makes Cabal cry for happy while generating makefiles ...
|
||||
preConfigure = "
|
||||
echo 'GhcThreaded=NO' > mk/build.mk
|
||||
# the presence of this file makes Cabal cry for happy while generating makefiles ...
|
||||
rm libraries/haskell-src/Language/Haskell/Parser.ly
|
||||
# still requires a hack for ncurses
|
||||
sed -i \"s|^\\\(ld-options.*$\\\)|\\\1 -L${ncurses}/lib|\" libraries/readline/readline.buildinfo.in
|
||||
";
|
||||
|
||||
inherit readline gmp ncurses;
|
||||
|
|
Loading…
Reference in a new issue