3
0
Fork 0
forked from mirrors/nixpkgs

haskellPackages.streamly-archive: improve unbreak

This commit is contained in:
Shlok Datye 2023-05-04 09:05:08 +02:00
parent 2c7ba264d6
commit 28419a442d
2 changed files with 10 additions and 10 deletions

View file

@ -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-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; };