libjwt-typed: unbreak with minor changes

Unbreak libjwt-typed. Succesfully built using:

  env NIXPKGS_ALLOW_BROKEN=1 nix-build --no-out-link -A haskellPackages.libjwt-typed

This was accomplished by removing dependency
bounds, skipping tests, and adding the libjwt
librarySystemDepends.

Removed `broken` status from libjwt-typed.

I have not tested using what was built in the
nix-build command above in a local project.
This commit is contained in:
someodd 2022-08-08 01:48:07 -07:00
parent 1d51c8b324
commit 14c05dc6ac
3 changed files with 7 additions and 1 deletions

View file

@ -2357,6 +2357,10 @@ self: super: {
# https://github.com/tree-sitter/haskell-tree-sitter/issues/298
tree-sitter = doJailbreak super.tree-sitter;
# 2022-08-07: Bounds are too restrictive: https://github.com/marcin-rzeznicki/libjwt-typed/issues/2
# Also, the tests fail.
libjwt-typed = dontCheck (doJailbreak super.libjwt-typed);
# Test suite fails to compile
# https://github.com/kuribas/mfsolve/issues/8
mfsolve = dontCheck super.mfsolve;

View file

@ -3000,7 +3000,6 @@ broken-packages:
- libhbb
- libinfluxdb
- libjenkins
- libjwt-typed
- libltdl
- liboath-hs
- liboleg

View file

@ -315,6 +315,9 @@ self: super: builtins.intersectAttrs super {
greenclip = addExtraLibrary pkgs.xorg.libXdmcp super.greenclip;
# The cabal files for these libraries do not list the required system dependencies.
libjwt-typed = overrideCabal (drv: {
librarySystemDepends = [ pkgs.libjwt ];
}) super.libjwt-typed;
miniball = overrideCabal (drv: {
librarySystemDepends = [ pkgs.miniball ];
}) super.miniball;