From 0c6a79a2d0df96a952b6ec317ee391fe38cba389 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Thu, 11 Aug 2016 23:04:48 -0500 Subject: [PATCH] mosquitto: use cmake for darwin Makefile says this: Please compile using CMake on Mac OS X. --- pkgs/servers/mqtt/mosquitto/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/mqtt/mosquitto/default.nix b/pkgs/servers/mqtt/mosquitto/default.nix index 0dacaf4cfe47..be7947a03d6c 100644 --- a/pkgs/servers/mqtt/mosquitto/default.nix +++ b/pkgs/servers/mqtt/mosquitto/default.nix @@ -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)"