diff options
author | Wolfgang Walther <walther@technowledgy.de> | 2024-03-08 23:30:12 +0100 |
---|---|---|
committer | Wolfgang Walther <walther@technowledgy.de> | 2024-03-09 09:44:07 +0100 |
commit | f58132cb157d226b024418c0643994f2d31f2800 (patch) | |
tree | b699f1d141fb3dab54c3a99f745fb3503f73d606 /pkgs/servers/sql | |
parent | a69f3706c7361b51ad3a991bdf689ff64751ae74 (diff) | |
download | nixlib-f58132cb157d226b024418c0643994f2d31f2800.tar nixlib-f58132cb157d226b024418c0643994f2d31f2800.tar.gz nixlib-f58132cb157d226b024418c0643994f2d31f2800.tar.bz2 nixlib-f58132cb157d226b024418c0643994f2d31f2800.tar.lz nixlib-f58132cb157d226b024418c0643994f2d31f2800.tar.xz nixlib-f58132cb157d226b024418c0643994f2d31f2800.tar.zst nixlib-f58132cb157d226b024418c0643994f2d31f2800.zip |
postgresql.pkgs.repmgr: fix build on linux
This failed because libpam, which postgresql is now linked against, was missing as a build input. In general, this is an indication that this extension needs the same build inputs that postgresql was built with - so we just pass those instead. This makes similar build failures less likely in the future.
Diffstat (limited to 'pkgs/servers/sql')
-rw-r--r-- | pkgs/servers/sql/postgresql/ext/repmgr.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/repmgr.nix b/pkgs/servers/sql/postgresql/ext/repmgr.nix index 93f607671579..e4e8c5afdb24 100644 --- a/pkgs/servers/sql/postgresql/ext/repmgr.nix +++ b/pkgs/servers/sql/postgresql/ext/repmgr.nix @@ -24,8 +24,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ flex ]; - buildInputs = [ postgresql openssl zlib readline curl json_c ] - ++ lib.optionals (stdenv.isLinux && lib.versionOlder postgresql.version "13") [ libxcrypt ]; + buildInputs = postgresql.buildInputs ++ [ postgresql curl json_c ]; installPhase = '' mkdir -p $out/{bin,lib,share/postgresql/extension} |