Skip to content

Commit

Permalink
mosquitto: fix darwin build (#29851)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1449141)
  • Loading branch information
volth authored and LnL7 committed Sep 28, 2017
1 parent 8133dbf commit bd0b1fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/servers/mqtt/mosquitto/default.nix
Expand Up @@ -14,12 +14,12 @@ stdenv.mkDerivation rec {
buildInputs = [ openssl libuuid libwebsockets c-ares libuv ]
++ stdenv.lib.optional stdenv.isDarwin cmake;

makeFlags = [
makeFlags = stdenv.lib.optionals stdenv.isLinux [
"DESTDIR=$(out)"
"PREFIX="
];

preBuild = ''
postPatch = ''
substituteInPlace config.mk \
--replace "/usr/local" ""
substituteInPlace config.mk \
Expand Down

0 comments on commit bd0b1fe

Please sign in to comment.