postgresql: fix systemd support

See comments in #61581. versionAtLeast was called with arguments in the
wrong order.
This commit is contained in:
Franz Pletz 2019-07-23 05:08:28 +02:00
parent c248435ee3
commit 290cfc767c
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4

View File

@ -7,7 +7,7 @@ let
, pkgconfig, libxml2, tzdata
# This is important to obtain a version of `libpq` that does not depend on systemd.
, enableSystemd ? (lib.versionAtLeast "9.6" version && !stdenv.isDarwin)
, enableSystemd ? (lib.versionAtLeast version "9.6" && !stdenv.isDarwin)
# for postgreql.pkgs
, this, self, newScope, buildEnv