Revert "fix: Build static postgrest with GSSAPI support"
This reverts commit c94aa9ccd9.
This commit is contained in:
+1
-9
@@ -10,7 +10,6 @@
|
||||
, lib
|
||||
, openssl
|
||||
, zlib
|
||||
, libkrb5
|
||||
, postgresql
|
||||
, pkg-config
|
||||
, tzdata
|
||||
@@ -24,14 +23,13 @@ stdenv.mkDerivation {
|
||||
"--without-gssapi"
|
||||
"--without-icu"
|
||||
"--without-readline"
|
||||
"--with-gssapi"
|
||||
"--with-openssl"
|
||||
"--with-system-tzdata=${tzdata}/share/zoneinfo"
|
||||
"--sysconfdir=/etc/postgresql"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [ pkg-config tzdata ];
|
||||
buildInputs = [ libkrb5 openssl zlib ];
|
||||
buildInputs = [ openssl zlib ];
|
||||
|
||||
buildFlags = [ "submake-libpq" "submake-libpgport" ];
|
||||
|
||||
@@ -49,12 +47,6 @@ stdenv.mkDerivation {
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
# To avoid linking errors in the static build with gssapi
|
||||
postInstall = ''
|
||||
substituteInPlace $out/lib/pkgconfig/libpq.pc\
|
||||
--replace "Requires.private:" "Requires.private: krb5-gssapi,"
|
||||
'';
|
||||
|
||||
outputs = [ "out" ];
|
||||
|
||||
meta = with lib; {
|
||||
|
||||
Reference in New Issue
Block a user