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.
wip/yesman
Matthieu Coudron 4 years ago committed by Peter Simons
parent 6e8d0133f9
commit 116021c98a
  1. 6
      pkgs/development/haskell-modules/configuration-common.nix
  2. 1
      pkgs/development/haskell-modules/configuration-hackage2nix.yaml

@ -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.

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

Loading…
Cancel
Save