mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00:00
mosquitto: fix darwin build (#29851)
This commit is contained in:
parent
6cdcdb14c9
commit
144914121c
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user