diff options
author | Alyssa Ross <hi@alyssa.is> | 2023-01-17 19:21:24 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2023-01-18 12:14:49 +0000 |
commit | e88859c53cade58687b851749887cf701e49bd89 (patch) | |
tree | ff9ebdb52685a7631d0d8653df9694f88899b811 /pkgs/servers/sql | |
parent | dd8a787d4a7eef385a02ef9795a4d28108bc4051 (diff) |
postgresql: fix enableSystemd on other Unixes
It's not just Darwin that doesn't have systemd.
Diffstat (limited to 'pkgs/servers/sql')
-rw-r--r-- | pkgs/servers/sql/postgresql/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/sql/postgresql/default.nix b/pkgs/servers/sql/postgresql/default.nix index 0d544ac17b229..93df798c8bcb6 100644 --- a/pkgs/servers/sql/postgresql/default.nix +++ b/pkgs/servers/sql/postgresql/default.nix @@ -7,7 +7,7 @@ let , pkg-config, libxml2, tzdata, libkrb5 # This is important to obtain a version of `libpq` that does not depend on systemd. - , enableSystemd ? !stdenv.isDarwin && !stdenv.hostPlatform.isStatic + , enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd && !stdenv.hostPlatform.isStatic , gssSupport ? with stdenv.hostPlatform; !isWindows && !isStatic # for postgresql.pkgs |