haskell.compiler.ghc861: Apply fix to abi-hash with backpack.
See https://phabricator.haskell.org/D5123.
This commit is contained in:
parent
e6e56bbe32
commit
cd41cad074
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# build-tools
|
# build-tools
|
||||||
, bootPkgs, alex, happy, hscolour
|
, bootPkgs, alex, happy, hscolour
|
||||||
, autoconf, automake, coreutils, fetchurl, perl, python3, m4
|
, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4
|
||||||
|
|
||||||
, libiconv ? null, ncurses
|
, libiconv ? null, ncurses
|
||||||
|
|
||||||
|
@ -90,6 +90,12 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
outputs = [ "out" "doc" ];
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
|
patches = [(fetchpatch rec { # https://phabricator.haskell.org/D5123
|
||||||
|
url = "http://tarballs.nixos.org/sha256/${sha256}";
|
||||||
|
name = "D5123.diff";
|
||||||
|
sha256 = "0nhqwdamf2y4gbwqxcgjxs0kqx23w9gv5kj0zv6450dq19rji82n";
|
||||||
|
})];
|
||||||
|
|
||||||
postPatch = "patchShebangs .";
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
# GHC is a bit confused on its cross terminology.
|
# GHC is a bit confused on its cross terminology.
|
||||||
|
|
Loading…
Reference in New Issue