* Give the GHC builder a temporary $HOME.
svn path=/nixpkgs/trunk/; revision=5504
This commit is contained in:
parent
3be153c62c
commit
45e1edfda8
@ -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];
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user