Merge pull request #297755 from toonn/nssmdns-sysconfdir
nssmdns: Fix configuration location
This commit is contained in:
commit
e2c423b710
1 changed files with 4 additions and 2 deletions
|
@ -5,7 +5,7 @@ stdenv.mkDerivation rec {
|
||||||
version = "0.15.1";
|
version = "0.15.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "lathiat";
|
owner = "avahi";
|
||||||
repo = "nss-mdns";
|
repo = "nss-mdns";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-iRaf9/gu9VkGi1VbGpxvC5q+0M8ivezCz/oAKEg5V1M=";
|
hash = "sha256-iRaf9/gu9VkGi1VbGpxvC5q+0M8ivezCz/oAKEg5V1M=";
|
||||||
|
@ -22,6 +22,8 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-avahi"
|
"--enable-avahi"
|
||||||
# Connect to the daemon at `/var/run/avahi-daemon/socket'.
|
# Connect to the daemon at `/var/run/avahi-daemon/socket'.
|
||||||
"--localstatedir=/var"
|
"--localstatedir=/var"
|
||||||
|
# Read configuration at `/etc/mdns.allow`, not `$out/etc/mdns.allow`.
|
||||||
|
"--sysconfdir=/etc"
|
||||||
];
|
];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
@ -33,7 +35,7 @@ stdenv.mkDerivation rec {
|
||||||
resolution by common Unix/Linux programs in the ad-hoc mDNS
|
resolution by common Unix/Linux programs in the ad-hoc mDNS
|
||||||
domain `.local'.
|
domain `.local'.
|
||||||
'';
|
'';
|
||||||
homepage = "http://0pointer.de/lennart/projects/nss-mdns/";
|
homepage = "https://github.com/avahi/nss-mdns/";
|
||||||
license = lib.licenses.lgpl2Plus;
|
license = lib.licenses.lgpl2Plus;
|
||||||
# Supports both the GNU and FreeBSD NSS.
|
# Supports both the GNU and FreeBSD NSS.
|
||||||
platforms = lib.platforms.gnu ++ lib.platforms.linux ++ lib.platforms.freebsd;
|
platforms = lib.platforms.gnu ++ lib.platforms.linux ++ lib.platforms.freebsd;
|
||||||
|
|
Loading…
Reference in a new issue