3
0
Fork 0
forked from mirrors/nixpkgs

stabber: fix darwin build

This commit is contained in:
Stanisław Pitucha 2023-03-21 14:50:28 +11:00
parent 79ac6c8fda
commit 3ecd7073e6

View file

@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub, autoreconfHook, pkg-config, glib, expat
, libmicrohttpd
, libmicrohttpd, darwin
}:
with lib;
@ -20,7 +20,8 @@ stdenv.mkDerivation {
'';
nativeBuildInputs = [ pkg-config autoreconfHook ];
buildInputs = [ glib expat libmicrohttpd ];
buildInputs = [ glib expat libmicrohttpd ] ++
lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.Security ];
meta = {
description = "Stubbed XMPP Server";