about summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2006-06-23 20:08:48 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2006-06-23 20:08:48 +0000
commit45e1edfda8a1aedae43492c616c0f5f053e235c9 (patch)
tree95488b39a88b9b6ddaa23584bace473b9c0e3f36 /pkgs/development/compilers/ghc
parent3be153c62c7ec10744e594128a98109cb3d658e8 (diff)
downloadnixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.tar
nixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.tar.gz
nixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.tar.bz2
nixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.tar.lz
nixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.tar.xz
nixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.tar.zst
nixlib-45e1edfda8a1aedae43492c616c0f5f053e235c9.zip
* Give the GHC builder a temporary $HOME.
svn path=/nixpkgs/trunk/; revision=5504
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r--pkgs/development/compilers/ghc/boot.nix6
-rw-r--r--pkgs/development/compilers/ghc/builder.sh4
2 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/compilers/ghc/boot.nix b/pkgs/development/compilers/ghc/boot.nix
index 7ab762fbc508..0ec63442ccfa 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 fed830274480..5d05417a7e85 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