Make NSS modules visible to `avahi-daemon'.
It allows it to know whether `libnss-mdns' is available, which clients can ask via the `IsNSSSupportAvailable' D-Bus method. svn path=/nixos/branches/modular-nixos/; revision=16125
This commit is contained in:
parent
e2e373b89c
commit
74738de1f8
@ -112,6 +112,11 @@ let
|
|||||||
respawn
|
respawn
|
||||||
script
|
script
|
||||||
export PATH="${avahi}/bin:${avahi}/sbin:$PATH"
|
export PATH="${avahi}/bin:${avahi}/sbin:$PATH"
|
||||||
|
|
||||||
|
# Make NSS modules visible so that `avahi_nss_support ()' can
|
||||||
|
# return a sensible value.
|
||||||
|
export LD_LIBRARY_PATH="${config.system.nssModules.path}"
|
||||||
|
|
||||||
exec ${avahi}/sbin/avahi-daemon --daemonize -f "${avahiDaemonConf}"
|
exec ${avahi}/sbin/avahi-daemon --daemonize -f "${avahiDaemonConf}"
|
||||||
end script
|
end script
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user