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