git.iko.soy/typeable/nixpkgs
on master help sign in
haskell.compiler.ghc861: Apply fix to abi-hash with backpack.

See https://phabricator.haskell.org/D5123.

commitcd41cad074153bedeb2ab98cf59c668183164ed3 authorShea Levy <shea@shealevy.com> dateMon 3 Sep 2018, 09:34 (8 years ago) parente6e56bb
1 file changed+7−1
pkgs/development/compilers/ghc/8.6.1.nix+7−1
pkgs/development/compilers/ghc/8.6.1.nix+7−1
@@ -2,7 +2,7 @@
22
33# build-tools
44, bootPkgs, alex, happy, hscolour
5−, autoconf, automake, coreutils, fetchurl, perl, python3, m4
5+, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4
66
77, libiconv ? null, ncurses
88
@@ -90,6 +90,12 @@ stdenv.mkDerivation (rec {
9090
9191 outputs = [ "out" "doc" ];
9292
93+ patches = [(fetchpatch rec { # https://phabricator.haskell.org/D5123
94+ url = "http://tarballs.nixos.org/sha256/${sha256}";
95+ name = "D5123.diff";
96+ sha256 = "0nhqwdamf2y4gbwqxcgjxs0kqx23w9gv5kj0zv6450dq19rji82n";
97+ })];
98+
9399 postPatch = "patchShebangs .";
94100
95101 # GHC is a bit confused on its cross terminology.