Merge pull request #182808 from robx/postgresql-static-systemd

postgresql: disable systemd support for static builds
This commit is contained in:
Mario Rodas 2022-07-30 18:54:04 -05:00 committed by GitHub
commit 6d1f689374
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,14 +4,13 @@ let
# dependencies
{ stdenv, lib, fetchurl, makeWrapper
, glibc, zlib, readline, openssl, icu, lz4, systemd, libossp_uuid
, pkg-config, libxml2, tzdata
, pkg-config, libxml2, tzdata, libkrb5
# This is important to obtain a version of `libpq` that does not depend on systemd.
, enableSystemd ? (lib.versionAtLeast version "9.6" && !stdenv.isDarwin)
, gssSupport ? with stdenv.hostPlatform; !isWindows && !isStatic, libkrb5
, enableSystemd ? (lib.versionAtLeast version "9.6" && !stdenv.isDarwin && !stdenv.hostPlatform.isStatic)
, gssSupport ? with stdenv.hostPlatform; !isWindows && !isStatic
# for postgreql.pkgs
# for postgresql.pkgs
, this, self, newScope, buildEnv
# source specification