* Added GHC 6.10.1.
svn path=/nixpkgs/trunk/; revision=15147
This commit is contained in:
parent
e0b8a630a8
commit
5cfba3ac68
27
pkgs/development/compilers/ghc/6.10.1.nix
Normal file
27
pkgs/development/compilers/ghc/6.10.1.nix
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
{stdenv, fetchurl, libedit, ghc, perl, gmp, ncurses}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
version = "6.10.1";
|
||||||
|
|
||||||
|
name = "ghc-${version}";
|
||||||
|
|
||||||
|
homepage = "http://haskell.org/ghc";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "${homepage}/dist/${version}/${name}-src.tar.bz2";
|
||||||
|
sha256 = "16q08cxxsmh4hgjhvkl739pc1hh81gljycfq1d2z6m1ld3jpbi22";
|
||||||
|
};
|
||||||
|
|
||||||
|
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";
|
||||||
|
};
|
||||||
|
}
|
@ -17,7 +17,6 @@ stdenv.mkDerivation rec {
|
|||||||
configureFlags=[
|
configureFlags=[
|
||||||
"--with-gmp-libraries=${gmp}/lib"
|
"--with-gmp-libraries=${gmp}/lib"
|
||||||
"--with-gmp-includes=${gmp}/include"
|
"--with-gmp-includes=${gmp}/include"
|
||||||
#"--with-readline-libraries=${readline}/lib"
|
|
||||||
"--with-gcc=${stdenv.gcc}/bin/gcc"
|
"--with-gcc=${stdenv.gcc}/bin/gcc"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -1873,6 +1873,14 @@ let
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
|
haskellPackages_ghc6101 = recurseIntoAttrs (import ./haskell-packages.nix {
|
||||||
|
inherit pkgs;
|
||||||
|
ghc = import ../development/compilers/ghc/6.10.1.nix {
|
||||||
|
inherit fetchurl stdenv perl ncurses gmp libedit;
|
||||||
|
ghc = ghc6101Binary;
|
||||||
|
};
|
||||||
|
});
|
||||||
|
|
||||||
haskellPackages_ghc6102 = recurseIntoAttrs (import ./haskell-packages.nix {
|
haskellPackages_ghc6102 = recurseIntoAttrs (import ./haskell-packages.nix {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
ghc = import ../development/compilers/ghc/6.10.2.nix {
|
ghc = import ../development/compilers/ghc/6.10.2.nix {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user