Merge pull request #62153 from WilliButz/avahi-refactor
avahi: set service directory and refactor module
This commit is contained in:
@@ -50,6 +50,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' \
|
||||
|
||||
Reference in New Issue
Block a user