postgresql: disable systemd support for static builds

This commit is contained in:
Robert Vollmert 2022-07-25 13:49:48 +02:00
parent f7bb0cf104
commit 037dd36923

View File

@ -7,7 +7,7 @@ let
, pkg-config, libxml2, tzdata
# This is important to obtain a version of `libpq` that does not depend on systemd.
, enableSystemd ? (lib.versionAtLeast version "9.6" && !stdenv.isDarwin)
, enableSystemd ? (lib.versionAtLeast version "9.6" && !stdenv.isDarwin && !stdenv.hostPlatform.isStatic)
, gssSupport ? with stdenv.hostPlatform; !isWindows && !isStatic, libkrb5