Commit e88859c5 authored by Alyssa Ross's avatar Alyssa Ross
Browse files

postgresql: fix enableSystemd on other Unixes

It's not just Darwin that doesn't have systemd.
parent dd8a787d
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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