soci: fix darwin build

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
Philipp Baumann 2023-12-21 20:00:37 +01:00 committed by Weijia Wang
parent 490828bce1
commit c1a504fbdb

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; {