Commit a1a4c4d6 authored by Shlok Datye's avatar Shlok Datye
Browse files

haskellPackages.streamly-lmdb: unbreak

parent b4d9470e
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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;

+0 −1
Original line number Diff line number Diff line
@@ -5109,7 +5109,6 @@ broken-packages:
  - streamly-binary
  - streamly-cassava
  - streamly-examples
  - streamly-lmdb
  - streamly-lz4
  - streamly-process
  - stream-monad
+3 −0
Original line number Diff line number Diff line
@@ -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"
+0 −2
Original line number Diff line number Diff line
@@ -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