Merge pull request #229832 from shlok/streamly-archive-unbreak-improvement

haskellPackages.streamly-archive: improve unbreak
This commit is contained in:
Dennis Gosnell 2023-05-08 07:39:40 +09:00 committed by GitHub
commit 7b401e3584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 10 deletions

View File

@ -412,6 +412,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-archive = super.streamly-archive.override {
streamly =
assert (builtins.compareVersions pkgs.haskellPackages.streamly.version "0.9.0" < 0);
pkgs.haskellPackages.streamly_0_9_0;
};
# The package requires streamly == 0.9.*.
# (We can remove this once the assert starts failing.)
streamly-lmdb = super.streamly-lmdb.override {

View File

@ -903,16 +903,8 @@ self: super: builtins.intersectAttrs super {
})
(self.generateOptparseApplicativeCompletions [ "pnbackup" ] super.pinboard-notes-backup);
streamly-archive = super.streamly-archive.override {
# The package requires streamly == 0.9.*.
# (We can remove this once the assert starts failing.)
streamly =
assert (builtins.compareVersions pkgs.haskellPackages.streamly.version "0.9.0" < 0);
pkgs.haskellPackages.streamly_0_9_0;
# Pass the correct libarchive into the package.
archive = pkgs.libarchive;
};
# Pass the correct libarchive into the package.
streamly-archive = super.streamly-archive.override { archive = pkgs.libarchive; };
# Pass the correct lmdb into the package.
streamly-lmdb = super.streamly-lmdb.override { lmdb = pkgs.lmdb; };