soci: fix darwin build
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
parent
490828bce1
commit
c1a504fbdb
1 changed files with 6 additions and 1 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue