avahi: set AVAHI_SERVICE_DIR to well-known location
Avahi now uses `/etc/avahi/services` instead of its store path to look for files with service definitions.
This commit is contained in:
parent
ee86a325dd
commit
c260e9e399
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ stdenv.mkDerivation rec {
|
|||
# autoipd won't build on darwin
|
||||
++ stdenv.lib.optional stdenv.isDarwin "--disable-autoipd";
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-DAVAHI_SERVICE_DIR=\"/etc/avahi/services\"";
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i '20 i\
|
||||
#define __APPLE_USE_RFC_2292' \
|
||||
|
|
Loading…
Reference in a new issue