3
0
Fork 0
forked from mirrors/nixpkgs

Added ghc-6.10.3.

svn path=/nixpkgs/trunk/; revision=15541
This commit is contained in:
Andres Löh 2009-05-10 21:04:58 +00:00
parent e7bd899196
commit 61a000b056
2 changed files with 35 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{stdenv, fetchurl, libedit, ghc, perl, gmp, ncurses}:
stdenv.mkDerivation rec {
version = "6.10.3";
name = "ghc-${version}";
homepage = "http://haskell.org/ghc";
src = fetchurl {
url = "${homepage}/dist/${version}/${name}-src.tar.bz2";
sha256 = "82d104ab8b24f27c3566b5693316c779427794a137237b3df925c55e20905893";
};
buildInputs = [ghc libedit perl gmp];
configureFlags=[
"--with-gmp-libraries=${gmp}/lib"
"--with-gmp-includes=${gmp}/include"
"--with-gcc=${stdenv.gcc}/bin/gcc"
];
meta = {
inherit homepage;
description = "The Glasgow Haskell Compiler";
};
}

View file

@ -1868,6 +1868,14 @@ let
};
});
haskellPackages_ghc6103 = recurseIntoAttrs (import ./haskell-packages.nix {
inherit pkgs;
ghc = import ../development/compilers/ghc/6.10.3.nix {
inherit fetchurl stdenv perl ncurses gmp libedit;
ghc = ghc6101Binary;
};
});
gprolog = import ../development/compilers/gprolog {
inherit fetchurl stdenv;
};