diff options
author | Shea Levy <shea@shealevy.com> | 2018-09-03 09:34:14 -0400 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2018-09-12 10:31:10 +0200 |
commit | cd41cad074153bedeb2ab98cf59c668183164ed3 (patch) | |
tree | b75605ac5d789ee77081eddae24a872086409ecb /pkgs/development/compilers/ghc | |
parent | e6e56bbe32099663b6f78db60c95abecd2fec927 (diff) | |
download | nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.tar nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.tar.gz nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.tar.bz2 nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.tar.lz nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.tar.xz nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.tar.zst nixlib-cd41cad074153bedeb2ab98cf59c668183164ed3.zip |
haskell.compiler.ghc861: Apply fix to abi-hash with backpack.
See https://phabricator.haskell.org/D5123.
Diffstat (limited to 'pkgs/development/compilers/ghc')
-rw-r--r-- | pkgs/development/compilers/ghc/8.6.1.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/8.6.1.nix b/pkgs/development/compilers/ghc/8.6.1.nix index 7fcb52969151..36ef9d0cc73d 100644 --- a/pkgs/development/compilers/ghc/8.6.1.nix +++ b/pkgs/development/compilers/ghc/8.6.1.nix @@ -2,7 +2,7 @@ # build-tools , bootPkgs, alex, happy, hscolour -, autoconf, automake, coreutils, fetchurl, perl, python3, m4 +, autoconf, automake, coreutils, fetchurl, fetchpatch, perl, python3, m4 , libiconv ? null, ncurses @@ -90,6 +90,12 @@ stdenv.mkDerivation (rec { 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 ."; # GHC is a bit confused on its cross terminology. |