From e040fa271e0f0b7eec81eb8c89297f596ec09cd9 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Fri, 30 Jan 2026 21:15:38 +0100 Subject: [PATCH] haskellPackages.hasql-notifications: pin to 0.2.4.* to match hasql --- .../configuration-hackage2nix/broken.yaml | 1 - .../configuration-hackage2nix/main.yaml | 2 + .../haskell-modules/hackage-packages.nix | 45 ++++++++++++++++++- 3 files changed, 45 insertions(+), 3 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml index ec19e1da6eb9..89a7b4dd8093 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/broken.yaml @@ -2614,7 +2614,6 @@ broken-packages: - hasql-generic # failure in job https://hydra.nixos.org/build/233204654 at 2023-09-02 - hasql-migration # failure in job https://hydra.nixos.org/build/295094132 at 2025-04-22 - hasql-mover # failure in job https://hydra.nixos.org/build/295094128 at 2025-04-22 - - hasql-notifications # failure in job https://hydra.nixos.org/build/320159319 at 2026-01-26 - hasql-pipes # failure in job https://hydra.nixos.org/build/295094119 at 2025-04-22 - hasql-resource-pool # failure in job https://hydra.nixos.org/build/233217667 at 2023-09-02 - hasql-simple # failure in job https://hydra.nixos.org/build/233249588 at 2023-09-02 diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml index f2491f1f7434..88ca05ebf35b 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix/main.yaml @@ -29,6 +29,8 @@ default-package-overrides: # 2025-12-26: Needs to match egison-pattern-src from Stackage LTS - egison-pattern-src-th-mode < 0.2.2 - extensions == 0.1.0.2 # matches Cabal 3.12 (GHC 9.10) + # 2026-01-30: Needs to match hasql from Stackage LTS 24 + - hasql-notifications < 0.2.5.0 # 2025-09-13: hnix 0.17.0 doesn't support hnix-store-core >= 0.8 # https://github.com/haskell-nix/hnix/pull/1112 - hnix-store-core < 0.7 diff --git a/pkgs/development/haskell-modules/hackage-packages.nix b/pkgs/development/haskell-modules/hackage-packages.nix index 130e0bd62a1e..4a9b76e628c9 100644 --- a/pkgs/development/haskell-modules/hackage-packages.nix +++ b/pkgs/development/haskell-modules/hackage-packages.nix @@ -316275,11 +316275,53 @@ self: { license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; mainProgram = "hasql-notifications"; - broken = true; } ) { }; hasql-notifications = callPackage ( + { + mkDerivation, + base, + bytestring, + hasql, + hasql-pool, + hspec, + postgresql-libpq, + QuickCheck, + text, + }: + mkDerivation { + pname = "hasql-notifications"; + version = "0.2.4.0"; + sha256 = "0xnag6j2qkyzii9blbrm3fp6rgcx291ih01v7msfbp0wr3dkg1dj"; + isLibrary = true; + isExecutable = true; + libraryHaskellDepends = [ + base + bytestring + hasql + hasql-pool + postgresql-libpq + text + ]; + executableHaskellDepends = [ + base + hasql + ]; + testHaskellDepends = [ + base + bytestring + hasql + hspec + QuickCheck + ]; + description = "LISTEN/NOTIFY support for Hasql"; + license = lib.licenses.bsd3; + mainProgram = "hasql-notifications"; + } + ) { }; + + hasql-notifications_0_2_5_0 = callPackage ( { mkDerivation, base, @@ -316322,7 +316364,6 @@ self: { license = lib.licenses.bsd3; hydraPlatforms = lib.platforms.none; mainProgram = "hasql-notifications"; - broken = true; } ) { };