haskellPackages.leveldb-haskell: fix build

Closes #166892.
main
rnhmjoj 2 years ago committed by sternenseemann
parent ab393cab63
commit 6a36abcd59
  1. 6
      pkgs/development/haskell-modules/configuration-common.nix
  2. 1
      pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
  3. 3
      pkgs/development/haskell-modules/hackage-packages.nix

@ -23,6 +23,12 @@ self: super: {
# There are numerical tests on random data, that may fail occasionally
lapack = dontCheck super.lapack;
# fix tests failure for base≥4.15 (https://github.com/kim/leveldb-haskell/pull/41)
leveldb-haskell = appendPatch (fetchpatch {
url = "https://github.com/kim/leveldb-haskell/commit/f5249081f589233890ddb1945ec548ca9fb717cf.patch";
sha256 = "14gllipl28lqry73c5dnclsskzk1bsrrgazibl4lkl8z98j2csjb";
}) super.leveldb-haskell;
# Arion's test suite needs a Nixpkgs, which is cumbersome to do from Nixpkgs
# itself. For instance, pkgs.path has dirty sources and puts a huge .git in the
# store. Testing is done upstream.

@ -2917,7 +2917,6 @@ broken-packages:
- lens-xml
- less-arbitrary
- Level0
- leveldb-haskell
- level-monad
- levenshtein
- levmar

@ -50673,6 +50673,7 @@ self: {
libraryHaskellDepends = [ base Cabal lens process ];
description = "Make Cabal aware of pkg-config package versions";
license = lib.licenses.bsd3;
maintainers = with lib.maintainers; [ roberth ];
}) {};
"cabal-plan" = callPackage
@ -168218,8 +168219,6 @@ self: {
];
description = "Haskell bindings to LevelDB";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
broken = true;
}) {inherit (pkgs) leveldb;};
"leveldb-haskell-fork" = callPackage

Loading…
Cancel
Save