diff --git a/pkgs/servers/amqp/rabbitmq-server/default.nix b/pkgs/servers/amqp/rabbitmq-server/default.nix index 3e8ec09a0b05..5bf3f2e693e6 100644 --- a/pkgs/servers/amqp/rabbitmq-server/default.nix +++ b/pkgs/servers/amqp/rabbitmq-server/default.nix @@ -1,5 +1,8 @@ { stdenv, fetchurl, erlang, python, libxml2, libxslt, xmlto -, docbook_xml_dtd_45, docbook_xsl, zip, unzip }: +, docbook_xml_dtd_45, docbook_xsl, zip, unzip + +, AppKit, Carbon, Cocoa +}: stdenv.mkDerivation rec { name = "rabbitmq-server-${version}"; @@ -12,7 +15,8 @@ stdenv.mkDerivation rec { }; buildInputs = - [ erlang python libxml2 libxslt xmlto docbook_xml_dtd_45 docbook_xsl zip unzip ]; + [ erlang python libxml2 libxslt xmlto docbook_xml_dtd_45 docbook_xsl zip unzip ] + ++ stdenv.lib.optionals stdenv.isDarwin [ AppKit Carbon Cocoa ]; preBuild = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index c6881d1370ff..94e42523eb22 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -9319,7 +9319,9 @@ let qpid-cpp = callPackage ../servers/amqp/qpid-cpp { }; - rabbitmq_server = callPackage ../servers/amqp/rabbitmq-server { }; + rabbitmq_server = callPackage ../servers/amqp/rabbitmq-server { + inherit (darwin.apple_sdk.frameworks) AppKit Carbon Cocoa; + }; radius = callPackage ../servers/radius { };