haskellPackages.chatter: unbreak

chatter's latest hackage release still depends on regex-tdfa-text, but
we can apply a patch from master to remove that dependency and jailbreak
to relax the bounds on cereal. Both these issues are already resolved
on master, so the override should only stand until the next release
comes around.

Additionally the test suite needs disabling as it doesn't list all
required modules in other-modules and thus fails to compile. The issue
has been reported upstream.

haskellPackages.fullstop: unbreak

Unfortunately fullstop is practically unmaintained and has no issue
tracker. The build failure is fortunately only affecting the test suite,
so a dontCheck resolves the issue for now.
This commit is contained in:
sternenseemann 2021-03-19 00:51:55 +01:00
parent 8d92f6cd3e
commit 3c3f84b637
2 changed files with 15 additions and 2 deletions

View file

@ -1649,4 +1649,19 @@ self: super: {
'' + (old.postInstall or "");
});
# Patch and jailbreak can be removed at next release, chatter > 0.9.1.0
# * Remove dependency on regex-tdfa-text
# * Jailbreak as bounds on cereal are too strict
# * Disable test suite which doesn't compile
# https://github.com/creswick/chatter/issues/38
chatter = appendPatch
(dontCheck (doJailbreak (super.chatter.override { regex-tdfa-text = null; })))
(pkgs.fetchpatch {
url = "https://github.com/creswick/chatter/commit/e8c15a848130d7d27b8eb5e73e8a0db1366b2e62.patch";
sha256 = "1dzak8d12h54vss5fxnrclygz0fz9ygbqvxd5aifz5n3vrwwpj3g";
});
# test suite doesn't compile anymore due to changed hunit/tasty APIs
fullstop = dontCheck super.fullstop;
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -4014,7 +4014,6 @@ broken-packages:
- Chart-tests
- chart-unit
- charter
- chatter
- chatty-text
- chatwork
- cheapskate-terminal
@ -5452,7 +5451,6 @@ broken-packages:
- ftree
- ftshell
- full-sessions
- fullstop
- funbot
- funbot-client
- funbot-git-hook