Update GHC 8.0.2 to RC 2

This commit is contained in:
Matthew Pickering 2016-12-23 01:44:30 +00:00
parent 1c50bdd928
commit d8a8e1cd0a

View file

@ -13,21 +13,15 @@ let
});
in
stdenv.mkDerivation rec {
version = "8.0.1.20161117";
version = "8.0.1.20161213";
name = "ghc-${version}";
src = fetchurl {
url = "https://downloads.haskell.org/~ghc/8.0.2-rc1/${name}-src.tar.xz";
sha256 = "08hpzvg059ha0knmlngd0winfkplkkb7dk88zfz3s177z38kd874";
url = "https://downloads.haskell.org/~ghc/8.0.2-rc2/${name}-src.tar.xz";
sha256 = "0l1arhbh3rbs011f0y4pgc35yn07x3hz6lfqlvqbwn96f8ff5529";
};
patches = [
# Already applied?
# ./relocation.patch
# Fix https://ghc.haskell.org/trac/ghc/ticket/12130
# (fetchFilteredPatch { url = https://git.haskell.org/ghc.git/patch/4d71cc89b4e9648f3fbb29c8fcd25d725616e265; sha256 = "0syaxb4y4s2dc440qmrggb4vagvqqhb55m6mx12rip4i9qhxl8k0"; })
(fetchFilteredPatch { url = https://git.haskell.org/ghc.git/patch/2f8cd14fe909a377b3e084a4f2ded83a0e6d44dd; sha256 = "06zvlgcf50ab58bw6yw3krn45dsmhg4cmlz4nqff8k4z1f1bj01v"; })
] ++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch;
patches = [] ++ stdenv.lib.optional stdenv.isLinux ./ghc-no-madv-free.patch;
buildInputs = [ ghc perl hscolour ];