ghc: add the Cabal ghcjs support patch
(cherry picked from commit feac31b1f05bf8be4681b461987f26a37a47c60f)
This commit is contained in:
parent
48048824c4
commit
b1814ba4b1
|
@ -137,6 +137,15 @@ stdenv.mkDerivation (rec {
|
|||
url = "https://raw.githubusercontent.com/input-output-hk/haskell.nix/122bd81150386867da07fdc9ad5096db6719545a/overlays/patches/ghc/cabal-host.patch";
|
||||
sha256 = "sha256:0yd0sajgi24sc1w5m55lkg2lp6kfkgpp3lgija2c8y3cmkwfpdc1";
|
||||
})
|
||||
|
||||
# In order to build ghcjs packages, the Cabal of the ghc used for the ghcjs
|
||||
# needs to be patched. Ref https://github.com/haskell/cabal/pull/7575
|
||||
(fetchpatch {
|
||||
url = "https://github.com/haskell/cabal/commit/369c4a0a54ad08a9e6b0d3bd303fedd7b5e5a336.patch";
|
||||
sha256 = "120f11hwyaqa0pq9g5l1300crqij49jg0rh83hnp9sa49zfdwx1n";
|
||||
stripLen = 3;
|
||||
extraPrefix = "libraries/Cabal/Cabal/";
|
||||
})
|
||||
] ++ lib.optionals stdenv.isDarwin [
|
||||
# Make Block.h compile with c++ compilers. Remove with the next release
|
||||
(fetchpatch {
|
||||
|
|
Loading…
Reference in New Issue