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
This commit is contained in:
parent
65974d2fa7
commit
356791ea62
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user