Merge pull request #297755 from toonn/nssmdns-sysconfdir

nssmdns: Fix configuration location

authored by Sandro and committed by GitHub e2c423b7 a18f21d5

+4 -2
+4 -2
pkgs/tools/networking/nss-mdns/default.nix
··· 5 5 version = "0.15.1"; 6 6 7 7 src = fetchFromGitHub { 8 - owner = "lathiat"; 8 + owner = "avahi"; 9 9 repo = "nss-mdns"; 10 10 rev = "v${version}"; 11 11 hash = "sha256-iRaf9/gu9VkGi1VbGpxvC5q+0M8ivezCz/oAKEg5V1M="; ··· 22 22 "--enable-avahi" 23 23 # Connect to the daemon at `/var/run/avahi-daemon/socket'. 24 24 "--localstatedir=/var" 25 + # Read configuration at `/etc/mdns.allow`, not `$out/etc/mdns.allow`. 26 + "--sysconfdir=/etc" 25 27 ]; 26 28 27 29 meta = { ··· 33 35 resolution by common Unix/Linux programs in the ad-hoc mDNS 34 36 domain `.local'. 35 37 ''; 36 - homepage = "http://0pointer.de/lennart/projects/nss-mdns/"; 38 + homepage = "https://github.com/avahi/nss-mdns/"; 37 39 license = lib.licenses.lgpl2Plus; 38 40 # Supports both the GNU and FreeBSD NSS. 39 41 platforms = lib.platforms.gnu ++ lib.platforms.linux ++ lib.platforms.freebsd;