forked from mirrors/nixpkgs
ghc-8.6.4: patch to fix haddock bug with typechecker plugins
Closes https://github.com/NixOS/nixpkgs/pull/59317.
This commit is contained in:
parent
c7481d2235
commit
a184604edf
|
@ -96,11 +96,20 @@ stdenv.mkDerivation (rec {
|
||||||
|
|
||||||
outputs = [ "out" "doc" ];
|
outputs = [ "out" "doc" ];
|
||||||
|
|
||||||
patches = [(fetchpatch rec { # https://phabricator.haskell.org/D5123
|
patches = [
|
||||||
url = "http://tarballs.nixos.org/sha256/${sha256}";
|
(fetchpatch rec { # https://phabricator.haskell.org/D5123
|
||||||
name = "D5123.diff";
|
url = "http://tarballs.nixos.org/sha256/${sha256}";
|
||||||
sha256 = "0nhqwdamf2y4gbwqxcgjxs0kqx23w9gv5kj0zv6450dq19rji82n";
|
name = "D5123.diff";
|
||||||
})];
|
sha256 = "0nhqwdamf2y4gbwqxcgjxs0kqx23w9gv5kj0zv6450dq19rji82n";
|
||||||
|
})
|
||||||
|
(fetchpatch rec { # https://github.com/haskell/haddock/issues/900
|
||||||
|
url = "https://patch-diff.githubusercontent.com/raw/haskell/haddock/pull/983.diff";
|
||||||
|
name = "loadpluginsinmodules.diff";
|
||||||
|
sha256 = "0bvvv0zsfq2581zsir97zfkggc1kkircbbajc2fz3b169ycpbha1";
|
||||||
|
extraPrefix = "utils/haddock/";
|
||||||
|
stripLen = 1;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
postPatch = "patchShebangs .";
|
postPatch = "patchShebangs .";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue