Revert "fix: Build static postgrest with GSSAPI support"

This reverts commit c94aa9ccd9.
This commit is contained in:
Wolfgang Walther
2024-06-05 19:59:07 +02:00
parent b4d235f72a
commit 70a8a80491
3 changed files with 2 additions and 23 deletions
+1 -13
View File
@@ -29,19 +29,7 @@ let
# derivation is built with static libraries anyway.
libraryPkgconfigDepends = [ pkgsCross.libpq ];
}).overrideAttrs (_: prevAttrs: {
buildInputs = prevAttrs.buildInputs ++ [
(pkgsStatic.libkrb5.overrideAttrs (_: prevAttrs: {
configureFlags = prevAttrs.configureFlags ++ [
"--sysconfdir=/etc"
# disable keyutils dependency, to avoid linking errors
"--without-keyutils"
];
postInstall = prevAttrs.postInstall + ''
${pkgsStatic.pkgsBuildHost.removeReferencesTo}/bin/remove-references-to -t $out $out/lib/*.a
'';
}))
];
buildInputs = prevAttrs.buildInputs ++ [ pkgsStatic.openssl ];
});
});
});