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
|
, sqlite
|
||||||
, postgresql
|
, postgresql
|
||||||
, boost
|
, boost
|
||||||
|
, darwin
|
||||||
, lib, stdenv
|
, lib, stdenv
|
||||||
}:
|
}:
|
||||||
|
let
|
||||||
|
inherit (darwin.apple_sdk_11_0.frameworks) Kerberos;
|
||||||
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "soci";
|
pname = "soci";
|
||||||
version = "4.0.2";
|
version = "4.0.2";
|
||||||
|
@ -34,6 +37,8 @@ stdenv.mkDerivation rec {
|
||||||
sqlite
|
sqlite
|
||||||
postgresql
|
postgresql
|
||||||
boost
|
boost
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
Kerberos
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue