mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
soci: fix darwin build
Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
parent
490828bce1
commit
c1a504fbdb
@ -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 New Issue
Block a user