mosquitto: use cmake for darwin

Makefile says this:

Please compile using CMake on Mac OS X.
This commit is contained in:
Matthew Bauer 2016-08-11 23:04:48 -05:00
parent fc9508d387
commit 0c6a79a2d0

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, openssl, libuuid }:
{ stdenv, fetchurl, openssl, libuuid, cmake }:
stdenv.mkDerivation rec {
pname = "mosquitto";
@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
sha256 = "1imw5ps0cqda41b574k8hgz9gdr8yy58f76fg8gw14pdnvf3l7sr";
};
buildInputs = [ openssl libuuid ];
buildInputs = [ openssl libuuid ]
++ stdenv.lib.optional stdenv.isDarwin cmake;
makeFlags = [
"DESTDIR=$(out)"