From 96ecb88589f78dad53a371ef323a504c2c037d76 Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 25 Dec 2024 11:21:20 +0100 Subject: [PATCH] postgresql_14: fix build Building postgresql_14 currently fails with this on master: error: derivation contains an illegal reference specifier 'man' The odd thing is, that changing *anything* in the postInstall phase seems to fix this, including just adding a single character as a comment. I have no clue what's happening here. --- pkgs/servers/sql/postgresql/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/servers/sql/postgresql/generic.nix b/pkgs/servers/sql/postgresql/generic.nix index 10cf487ad4a31..863ebb108e5c8 100644 --- a/pkgs/servers/sql/postgresql/generic.nix +++ b/pkgs/servers/sql/postgresql/generic.nix @@ -307,6 +307,7 @@ let postInstall = '' moveToOutput "bin/ecpg" "$dev" + # The following seems to fail without this comment (?) moveToOutput "lib/pgxs" "$dev" # Pretend pg_config is located in $out/bin to return correct paths, but