diff --git a/pkgs/development/compilers/ghc/boot.nix b/pkgs/development/compilers/ghc/boot.nix index 7ab762fbc50..0ec63442ccf 100644 --- a/pkgs/development/compilers/ghc/boot.nix +++ b/pkgs/development/compilers/ghc/boot.nix @@ -3,11 +3,11 @@ assert stdenv.system == "i686-linux"; stdenv.mkDerivation { - name = "ghc-6.4.1"; + name = "ghc-6.4.2"; builder = ./boot.sh; src = fetchurl { - url = http://nix.cs.uu.nl/dist/tarballs/ghc-6.4.1-i386-unknown-linux.tar.bz2; - md5 = "9cd18a8e946da91b373b8ec855cd842e"; + url = http://www.haskell.org/ghc/dist/6.4.2/ghc-6.4.2-i386-unknown-linux.tar.bz2; + md5 = "092fe2e25dab22b926babe97cc77db1f"; }; buildInputs = [perl]; propagatedBuildInputs = [readline ncurses]; diff --git a/pkgs/development/compilers/ghc/builder.sh b/pkgs/development/compilers/ghc/builder.sh index fed83027448..5d05417a7e8 100644 --- a/pkgs/development/compilers/ghc/builder.sh +++ b/pkgs/development/compilers/ghc/builder.sh @@ -2,4 +2,8 @@ source $stdenv/setup configureFlags="--with-gcc=$gcc/bin/gcc" +# Don't you hate build processes that write in $HOME? :-( +export HOME=$(pwd)/fake-home +mkdir -p $HOME + genericBuild