nixpkgs/pkgs/development/compilers/ghc/boot.nix
Eelco Dolstra efdb847441 * Use the new patchelf to build GHC in a fully pure way. Should be
checked on NixOS.

svn path=/nixpkgs/trunk/; revision=3993
2005-10-02 18:48:08 +00:00

16 lines
427 B
Nix

{stdenv, fetchurl, perl, patchelf, readline, ncurses}:
assert stdenv.system == "i686-linux";
stdenv.mkDerivation {
name = "ghc-6.4.1";
builder = ./boot.sh;
src = fetchurl {
url = http://www.haskell.org/ghc/dist/6.4.1/ghc-6.4.1-i386-unknown-linux.tar.bz2;
md5 = "9cd18a8e946da91b373b8ec855cd842e";
};
buildInputs = [perl patchelf];
propagatedBuildInputs = [readline ncurses];
inherit readline ncurses;
}