jhc: 0.8.0 -> 0.8.1

Also, bootstrap the compiler with GHC 7.6.3 instead of 6.12.3.

Signed-off-by: Austin Seipp <aseipp@pobox.com>
This commit is contained in:
Austin Seipp 2014-05-18 10:14:03 -05:00
parent 76beda705e
commit 1651871250
2 changed files with 18 additions and 17 deletions

View File

@ -1,30 +1,31 @@
{ { stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl,
stdenv, fetchurl, perl, ghc, binary, zlib, utf8String, readline, fgl, regexCompat, HsSyck, random }:
regexCompat, HsSyck, random
}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "jhc-${version}"; name = "jhc-${version}";
version = "0.8.1";
version = "0.8.0";
src = fetchurl { src = fetchurl {
url = "http://repetae.net/dist/${name}.tar.gz"; url = "http://repetae.net/dist/${name}.tar.gz";
sha256 = "0rbv0gpp7glhd9xqy7snbiaiizwnsfg9vzhvyywcvbmb35yivy2a"; sha256 = "11fya5ggk6q4vcm3kwjacfaaqvkammih25saqwlr1g40bcikbnf2";
}; };
buildInputs = [ patchPhase = ''
perl ghc binary zlib utf8String readline fgl regexCompat HsSyck random substituteInPlace ./src/Util/Interact.hs \
]; --replace USE_NOLINE USE_READLINE
'';
buildInputs =
[ perl ghc binary zlib utf8String
readline fgl regexCompat HsSyck random
];
meta = { meta = {
description = "Whole-program, globally optimizing Haskell compiler";
homepage = "http://repetae.net/computer/jhc/"; homepage = "http://repetae.net/computer/jhc/";
description = "A Haskell compiler which aims to produce the most efficient programs"; license = stdenv.lib.licenses.bsd;
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux; platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.aforemny stdenv.lib.maintainers.simons ]; maintainers = with stdenv.lib.maintainers;
[ aforemny simons thoughtpolice ];
}; };
} }

View File

@ -2852,7 +2852,7 @@ let
}; };
jhc = callPackage ../development/compilers/jhc { jhc = callPackage ../development/compilers/jhc {
inherit (haskellPackages_ghc6123) ghc binary zlib utf8String readline fgl inherit (haskellPackages_ghc763) ghc binary zlib utf8String readline fgl
regexCompat HsSyck random; regexCompat HsSyck random;
}; };