Merge pull request #28044 from mpickering/ghc-head

GHC Head updates
This commit is contained in:
Domen Kožar 2017-08-10 09:30:00 +02:00 committed by GitHub
commit ff5fd118b9
2 changed files with 4 additions and 4 deletions

View file

@ -5,6 +5,7 @@
# If enabled GHC will be build with the GPL-free but slower integer-simple # If enabled GHC will be build with the GPL-free but slower integer-simple
# library instead of the faster but GPLed integer-gmp library. # library instead of the faster but GPLed integer-gmp library.
, enableIntegerSimple ? false, gmp , enableIntegerSimple ? false, gmp
, version ? "8.3.20170808"
}: }:
let let
@ -12,8 +13,7 @@ let
commonBuildInputs = [ ghc perl autoconf automake happy alex python3 ]; commonBuildInputs = [ ghc perl autoconf automake happy alex python3 ];
version = "8.1.20170106"; rev = "14457cf6a50f708eecece8f286f08687791d51f7";
rev = "b4f2afe70ddbd0576b4eba3f82ba1ddc52e9b3bd";
commonPreConfigure = '' commonPreConfigure = ''
echo ${version} >VERSION echo ${version} >VERSION
@ -34,7 +34,7 @@ in stdenv.mkDerivation (rec {
src = fetchgit { src = fetchgit {
url = "git://git.haskell.org/ghc.git"; url = "git://git.haskell.org/ghc.git";
inherit rev; inherit rev;
sha256 = "1h064nikx5srsd7qvz19f6dxvnpfjp0b3b94xs1f4nar18hzf4j0"; sha256 = "08vj9ca7rq7rv8pjfl14fg2lg9d6zisrwlq6bi5vzr006816dy8y";
}; };
postPatch = "patchShebangs ."; postPatch = "patchShebangs .";

View file

@ -84,7 +84,7 @@ in rec {
selfPkgs = packages.ghc821; selfPkgs = packages.ghc821;
}; };
ghcHEAD = callPackage ../development/compilers/ghc/head.nix rec { ghcHEAD = callPackage ../development/compilers/ghc/head.nix rec {
bootPkgs = packages.ghc7103; bootPkgs = packages.ghc802;
inherit (bootPkgs) alex happy; inherit (bootPkgs) alex happy;
inherit buildPlatform targetPlatform; inherit buildPlatform targetPlatform;
selfPkgs = packages.ghcHEAD; selfPkgs = packages.ghcHEAD;