haskellPackages.streamly-archive: unbreak

This commit is contained in:
Shlok Datye 2023-05-02 20:52:06 +02:00
parent 2a950c290c
commit f11c25efa0
3 changed files with 10 additions and 5 deletions

View File

@ -5106,7 +5106,6 @@ broken-packages:
- streaming-png
- streaming-postgresql-simple
- streaming-sort
- streamly-archive
- streamly-binary
- streamly-cassava
- streamly-examples

View File

@ -903,8 +903,16 @@ self: super: builtins.intersectAttrs super {
})
(self.generateOptparseApplicativeCompletions [ "pnbackup" ] super.pinboard-notes-backup);
# Pass the correct libarchive into the package.
streamly-archive = super.streamly-archive.override { archive = pkgs.libarchive; };
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;
};
hlint = overrideCabal (drv: {
postInstall = ''

View File

@ -278564,9 +278564,7 @@ self: {
testSystemDepends = [ archive ];
description = "Stream data from archives using the streamly library";
license = lib.licenses.bsd3;
hydraPlatforms = lib.platforms.none;
maintainers = [ lib.maintainers.shlok ];
broken = true;
}) {archive = null;};
"streamly-binary" = callPackage