diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2016-08-11 23:04:48 -0500 |
---|---|---|
committer | Matthew Bauer <mjbauer95@gmail.com> | 2016-08-16 19:25:43 +0000 |
commit | 0c6a79a2d0df96a952b6ec317ee391fe38cba389 (patch) | |
tree | 6b99c89b1f43cc5cbcb0ba3505aaa96c7386bfcf /pkgs/servers | |
parent | fc9508d3878b5df71006c6992e59303292f1eb12 (diff) |
mosquitto: use cmake for darwin
Makefile says this: Please compile using CMake on Mac OS X.
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/mqtt/mosquitto/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/servers/mqtt/mosquitto/default.nix b/pkgs/servers/mqtt/mosquitto/default.nix index 0dacaf4cfe474..be7947a03d6c3 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)" |