nixpkgs/pkgs/development/compilers/ghc/boot.nix
Yury G. Kudryashov 76f78aaf57 ghc upgraded to 6.8.1
svn path=/nixpkgs/branches/stdenv-updates/; revision=9746
2007-11-17 15:30:00 +00:00

22 lines
738 B
Nix

{stdenv, fetchurl, perl, readline, ncurses, gmp}:
assert stdenv.system == "i686-linux" || stdenv.system == "x86_64-linux";
stdenv.mkDerivation {
name = "ghc-6.4.2";
builder = ./boot.sh;
src = if stdenv.system == "i686-linux" then
(fetchurl {
url = http://nix.cs.uu.nl/dist/tarballs/ghc-6.4.2-i386-unknown-linux.tar.bz2;
md5 = "092fe2e25dab22b926babe97cc77db1f";
}) else
(fetchurl {
url = http://haskell.org/ghc/dist/6.4.2/ghc-6.4.2-x86_64-unknown-linux.tar.bz2;
md5 = "8f5fe48798f715cd05214a10987bf6d5";
});
buildInputs = [perl];
propagatedBuildInputs = [readline ncurses gmp];
dontStrip = 1;
inherit readline ncurses gmp;
}