summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2022-04-02 02:56:35 +0200
committersternenseemann <sternenseemann@systemli.org>2022-04-02 14:05:08 +0200
commit6a36abcd5943bd1bfafeb753093c809685470fc1 (patch)
treef58020c399852d30b600783c4a05853827f03727 /pkgs/development/haskell-modules
parentab393cab639cd97378e1fafd845eecf3a1a29878 (diff)
downloadnixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.tar
nixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.tar.gz
nixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.tar.bz2
nixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.tar.lz
nixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.tar.xz
nixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.tar.zst
nixpkgs-6a36abcd5943bd1bfafeb753093c809685470fc1.zip
haskellPackages.leveldb-haskell: fix build
Closes #166892.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
-rw-r--r--pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml1
-rw-r--r--pkgs/development/haskell-modules/hackage-packages.nix3
3 files changed, 7 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index a6fb14699b0..0302ca2e54c 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.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.
diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
index 28a6e8f3e5d..4f3e29069f3 100644
--- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
+++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml
@@ -2917,7 +2917,6 @@ broken-packages:
   - lens-xml
   - less-arbitrary
   - Level0
-  - leveldb-haskell
   - level-monad
   - levenshtein
   - levmar
diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix
index 927553f0baa..07e1bcbbc38 100644
--- a/pkgs/development/haskell-modules/hackage-packages.nix
+++ b/pkgs/development/haskell-modules/hackage-packages.nix
@@ -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