Merge pull request #275884 from philipp-baumann/patch-soci-aarch64-darwin-kerberos

soci: fix darwin build
This commit is contained in:
Weijia Wang 2024-01-03 22:28:46 +01:00 committed by GitHub
commit c10ee5009f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,9 +4,12 @@
, sqlite
, postgresql
, boost
, darwin
, lib, stdenv
}:
let
inherit (darwin.apple_sdk_11_0.frameworks) Kerberos;
in
stdenv.mkDerivation rec {
pname = "soci";
version = "4.0.2";
@ -34,6 +37,8 @@ stdenv.mkDerivation rec {
sqlite
postgresql
boost
] ++ lib.optionals stdenv.isDarwin [
Kerberos
];
meta = with lib; {