darwin: rabbitmq_server: add needed inputs for Darwin

This commit is contained in:
Asko Soukka 2015-10-25 14:37:31 +02:00
parent a5ac419236
commit 3ea269a7e6
2 changed files with 9 additions and 3 deletions

View File

@ -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 =
''

View File

@ -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 { };