forked from mirrors/nixpkgs
mosquitto: use cmake for darwin
Makefile says this: Please compile using CMake on Mac OS X.
This commit is contained in:
parent
fc9508d387
commit
0c6a79a2d0
|
@ -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)"
|
||||
|
|
Loading…
Reference in a new issue