From 3ecd7073e6f3afd880408ec72b49e3ba72c62053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Pitucha?= Date: Tue, 21 Mar 2023 14:50:28 +1100 Subject: [PATCH] stabber: fix darwin build --- pkgs/misc/stabber/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/misc/stabber/default.nix b/pkgs/misc/stabber/default.nix index 478cbda3dc00..ff89241a2469 100644 --- a/pkgs/misc/stabber/default.nix +++ b/pkgs/misc/stabber/default.nix @@ -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";