postgresql: simplify systemdSupport default value

systemd is not available on static platforms, so the isStatic check is
redundant.
This commit is contained in:
Wolfgang Walther 2024-06-08 14:10:10 +02:00
parent de4ad2a6ac
commit a7fdf2256a
No known key found for this signature in database
GPG Key ID: B39893FA5F65CAE1

View File

@ -9,8 +9,7 @@ let
, removeReferencesTo, writeShellApplication
# This is important to obtain a version of `libpq` that does not depend on systemd.
, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs && !stdenv.hostPlatform.isStatic
, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs
, enableSystemd ? null
, gssSupport ? with stdenv.hostPlatform; !isWindows && !isStatic