From 608aa362a0dfb8c1bbafb14456ddab81555df5df Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 5 May 2023 14:46:32 +0200 Subject: [PATCH] haskellPackages.cabal2nix-unstable: 2023-04-11 -> 2023-05-05 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 3cb794b0f32667c092427d2c9f12a2e9d8b488b7 — cabal2nix has gained knowledge about the `liblzma` pkg-config name. --- pkgs/development/haskell-modules/cabal2nix-unstable.nix | 6 +++--- pkgs/development/haskell-modules/configuration-nix.nix | 2 -- pkgs/development/haskell-modules/hackage-packages.nix | 8 ++++---- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/pkgs/development/haskell-modules/cabal2nix-unstable.nix b/pkgs/development/haskell-modules/cabal2nix-unstable.nix index 08e7dd4bb466..d55a1341cf4b 100644 --- a/pkgs/development/haskell-modules/cabal2nix-unstable.nix +++ b/pkgs/development/haskell-modules/cabal2nix-unstable.nix @@ -8,10 +8,10 @@ }: mkDerivation { pname = "cabal2nix"; - version = "unstable-2023-04-11"; + version = "unstable-2023-05-05"; src = fetchzip { - url = "https://github.com/NixOS/cabal2nix/archive/010ff5c3b75d976d0f3a25b7caa0bc5bf2fdae9f.tar.gz"; - sha256 = "1n38kmavdv6s1czqbiq6f6nagpv27s8xg0g0rvyh4l0x2my8wj4y"; + url = "https://github.com/NixOS/cabal2nix/archive/078350047d358bb450d634d775493aba89b21212.tar.gz"; + sha256 = "0rsdn2zyw0zr6pi3dg6cm3i310alppigdsv20iqpx0dzykkicywj"; }; postUnpack = "sourceRoot+=/cabal2nix; echo source root reset to $sourceRoot"; isLibrary = true; diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 6342eab0b870..d46c4e8f265c 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -997,8 +997,6 @@ self: super: builtins.intersectAttrs super { (overrideCabal { doCheck = pkgs.postgresql.doCheck; }) ]; - lzma = super.lzma.override { liblzma = pkgs.xz; }; - # Wants running postgresql database accessible over ip, so postgresqlTestHook # won't work (or would need to patch test suite). domaindriven-core = dontCheck super.domaindriven-core; diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index a75a348072e5..adc4d362edee 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -187854,21 +187854,21 @@ self: { }) {}; "lzma" = callPackage - ({ mkDerivation, base, bytestring, HUnit, liblzma, QuickCheck - , tasty, tasty-hunit, tasty-quickcheck + ({ mkDerivation, base, bytestring, HUnit, QuickCheck, tasty + , tasty-hunit, tasty-quickcheck, xz }: mkDerivation { pname = "lzma"; version = "0.0.1.0"; sha256 = "0knz0d6456zf6wbqifzcsw2xvdgaqnig2zn96kav7aqn5i4nfbvj"; libraryHaskellDepends = [ base bytestring ]; - libraryPkgconfigDepends = [ liblzma ]; + libraryPkgconfigDepends = [ xz ]; testHaskellDepends = [ base bytestring HUnit QuickCheck tasty tasty-hunit tasty-quickcheck ]; description = "LZMA/XZ compression and decompression"; license = lib.licenses.bsd3; - }) {liblzma = null;}; + }) {inherit (pkgs) xz;}; "lzma-clib" = callPackage ({ mkDerivation }: