haskellPackages.true-name: Add a patch to allow building with current template-haskell.

This updates the `true-name` package to include changes up to version
0.1.0.4, as well as compilation failures when building with
template-haskell version 2.16 and higher.
This commit is contained in:
Kris Nuttycombe 2022-12-30 11:37:11 -07:00
parent 171068ed83
commit 2d3c98f2a3
2 changed files with 12 additions and 1 deletions

View file

@ -2370,4 +2370,16 @@ self: super: {
} super.postgrest));
html-charset = dontCheck super.html-charset;
# true-name-0.1.0.4 has been tagged, but has not been released to Hackage.
# Also, beyond 0.1.0.4 an additional patch is required to make true-name
# compatible with current versions of template-haskell
# https://github.com/liyang/true-name/pull/4
true-name = appendPatch (fetchpatch {
url = "https://github.com/liyang/true-name/compare/0.1.0.3...nuttycom:true-name:update_template_haskell.patch";
hash = "sha256-ZMBXGGc2X5AKXYbqgkLXkg5BhEwyj022E37sUEWahtc=";
}) (overrideCabal (drv: {
revision = null;
editedCabalFile = null;
}) super.true-name);
} // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super

View file

@ -5416,7 +5416,6 @@ broken-packages:
- trivia
- tropical
- tropical-geometry
- true-name
- tsession
- tslib
- tsparse