Skip to content

Commit

Permalink
postgresql: simplify systemdSupport default value
Browse files Browse the repository at this point in the history
systemd is not available on static platforms, so the isStatic check is
redundant.
  • Loading branch information
wolfgangwalther committed Sep 23, 2024
1 parent 17110d0 commit 47836da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkgs/servers/sql/postgresql/generic.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 47836da

Please sign in to comment.