Unverified Commit 6d1f6893 authored by Mario Rodas's avatar Mario Rodas Committed by GitHub
Browse files

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

postgresql: disable systemd support for static builds
parents a255355f f8e9b39c
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -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