haskellPackages.c2hsc: apply patchto find gcc

...used in tests.

Fix is upstream but there has been no sign of release for the past 6
months, fixes https://github.com/NixOS/nixpkgs/issues/63764.
This commit is contained in:
Matthieu Coudron 2020-06-04 18:18:03 +02:00 committed by Peter Simons
parent 6e8d0133f9
commit 116021c98a
2 changed files with 6 additions and 1 deletions

View file

@ -26,6 +26,12 @@ self: super: {
# successfully with recent versions of the compiler).
bin-package-db = null;
# waiting for release: https://github.com/jwiegley/c2hsc/issues/41
c2hsc = appendPatch super.c2hsc (pkgs.fetchpatch {
url = "https://github.com/jwiegley/c2hsc/commit/490ecab202e0de7fc995eedf744ad3cb408b53cc.patch";
sha256 = "1c7knpvxr7p8c159jkyk6w29653z5yzgjjqj11130bbb8mk9qhq7";
});
# Some Hackage packages reference this attribute, which exists only in the
# GHCJS package set. We provide a dummy version here to fix potential
# evaluation errors.

View file

@ -3562,7 +3562,6 @@ broken-packages:
- c0parser
- c10k
- c2ats
- c2hsc
- cabal-audit
- cabal-bounds
- cabal-bundle-clib