diff options
author | Peter Simons <simons@cryp.to> | 2009-07-10 12:26:18 +0000 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2009-07-10 12:26:18 +0000 |
commit | 356791ea62b7bd87b4af33ecbab664a41f5ac768 (patch) | |
tree | 6f1b49b4fd63282dbe2f613596d2e7ebddeea21e /pkgs/development/compilers/ghc | |
parent | 65974d2fa70a85b6d33a2fb96add5798104f8d0d (diff) | |
download | nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.tar nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.tar.gz nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.tar.bz2 nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.tar.lz nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.tar.xz nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.tar.zst nixlib-356791ea62b7bd87b4af33ecbab664a41f5ac768.zip |
The ghc binary distribution contains a 'pwd' binary that's broken on systems running a Red Hat kernel and causes the build to fail. To remedy that problem, we replace that binary with Nix's 'pwd' program before running configure.
Unfortunately, the same problem occurs again with 'installPackage', so as of now, GHC cannot be installed on Red Hat. svn path=/nixpkgs/trunk/; revision=16314
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/6.10.1-binary.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghc/6.10.1-binary.nix b/pkgs/development/compilers/ghc/6.10.1-binary.nix index 720580c49c56..2e1b5f2973d2 100644 --- a/pkgs/development/compilers/ghc/6.10.1-binary.nix +++ b/pkgs/development/compilers/ghc/6.10.1-binary.nix @@ -53,6 +53,7 @@ stdenv.mkDerivation rec { '' else ""); configurePhase = '' + cp $(type -P pwd) utils/pwd/pwd ./configure --prefix=$out --with-gmp-libraries=${gmp}/lib --with-gmp-includes=${gmp}/include ''; |