fix: Build static postgrest with GSSAPI support

Resolves #2815
This commit is contained in:
Wolfgang Walther
2024-01-26 17:17:05 +01:00
committed by Wolfgang Walther
parent dcb6c5bb13
commit c94aa9ccd9
3 changed files with 14 additions and 3 deletions
+5 -2
View File
@@ -36,8 +36,11 @@ let
# static libs for libpq.
nativeBuildInputs = prevAttrs.nativeBuildInputs ++ [ pkgs.pkgsStatic.pkg-config ];
buildInputs = [
pkgsStatic.openssl
buildInputs = prevAttrs.buildInputs ++ [
(pkgsStatic.libkrb5.overrideAttrs (finalAttrs: prevAttrs: {
# disable keyutils dependency, to avoid linking errors
configureFlags = prevAttrs.configureFlags ++ [ "--without-keyutils" ];
}))
];
});
});