diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5c9a62e97b29..e8f9742fb3a5 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -409,6 +409,14 @@ self: super: { # 2022-02-14: Strict upper bound: https://github.com/psibi/streamly-bytestring/issues/30 streamly-bytestring = dontCheck (doJailbreak super.streamly-bytestring); + # The package requires streamly == 0.9.*. + # (We can remove this once the assert starts failing.) + streamly-lmdb = super.streamly-lmdb.override { + streamly = + assert (builtins.compareVersions pkgs.haskellPackages.streamly.version "0.9.0" < 0); + pkgs.haskellPackages.streamly_0_9_0; + }; + # base bound digit = doJailbreak super.digit; diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index f57f085e9a61..ab1c47768867 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -5109,7 +5109,6 @@ broken-packages: - streamly-binary - streamly-cassava - streamly-examples - - streamly-lmdb - streamly-lz4 - streamly-process - stream-monad diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 5330433cf199..d46c4e8f265c 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -914,6 +914,9 @@ self: super: builtins.intersectAttrs super { archive = pkgs.libarchive; }; + # Pass the correct lmdb into the package. + streamly-lmdb = super.streamly-lmdb.override { lmdb = pkgs.lmdb; }; + hlint = overrideCabal (drv: { postInstall = '' install -Dm644 data/hlint.1 -t "$out/share/man/man1" diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 3fe2984fab1d..a75a348072e5 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -278713,9 +278713,7 @@ self: { testSystemDepends = [ lmdb ]; description = "Stream data to or from LMDB databases using the streamly library"; license = lib.licenses.bsd3; - hydraPlatforms = lib.platforms.none; maintainers = [ lib.maintainers.shlok ]; - broken = true; }) {inherit (pkgs) lmdb;}; "streamly-lz4" = callPackage