From b2b5f8be2832ba8f705c59553845b3ba33feaf08 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 9 Apr 2025 15:11:58 +0200 Subject: [PATCH] postgres-websockets: init at 0.11.2.2 The package itself is currently broken, but will be unbroken with the next merge of haskell-updates. --- pkgs/development/haskell-modules/configuration-nix.nix | 3 +++ pkgs/top-level/all-packages.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index 6cddf6285b24..5bb74fa2ce03 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -480,6 +480,9 @@ builtins.intersectAttrs super { hasql-pool = dontCheck super.hasql-pool; hasql-transaction = dontCheck super.hasql-transaction; + # Avoid compiling twice by providing executable as a separate output (with small closure size), + postgres-websockets = enableSeparateBinOutput super.postgres-websockets; + # Test suite requires a running postgresql server, # avoid compiling twice by providing executable as a separate output (with small closure size), # generate shell completion diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 99c189b702a0..02311bc2f87c 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -12484,6 +12484,7 @@ with pkgs; postgresql16JitPackages = recurseIntoAttrs postgresql_16_jit.pkgs; postgresql17JitPackages = recurseIntoAttrs postgresql_17_jit.pkgs; + postgres-websockets = haskellPackages.postgres-websockets.bin; postgrest = haskellPackages.postgrest.bin; prom2json = callPackage ../servers/monitoring/prometheus/prom2json.nix { };