From 698761587c218d6872976251f979c5440a65a8c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Wed, 4 Feb 2015 22:43:35 +0100 Subject: [PATCH] gnu: nss-mdns: Allow the daemon's socket to be found. * gnu/packages/avahi.scm (nss-mdns)[arguments]: New field. --- gnu/packages/avahi.scm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm index 0c4f35ed32..cd87508d0c 100644 --- a/gnu/packages/avahi.scm +++ b/gnu/packages/avahi.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2013, 2014 Ludovic Courtès +;;; Copyright © 2013, 2014, 2015 Ludovic Courtès ;;; Copyright © 2014 Mark H Weaver ;;; ;;; This file is part of GNU Guix. @@ -93,6 +93,11 @@ DNS-SD (for \"DNS-Based Service Discovery\") protocols.") "0vgs6j0qsl0mwzh5a0m0bykr7x6bx79vnbyn0r3q289rghp3qs0y")) (file-name (string-append name "-" version ".tar.gz")))) (build-system gnu-build-system) + (arguments + ;; The Avahi daemon socket is expected by src/Makefile.am to be at + ;; "$(localstatedir)/run/avahi-daemon/socket", so set $(localstatedir) + ;; appropriately. + '(#:configure-flags '("--localstatedir=/"))) ;; XXX: Stale URL, missing replacement. See . (home-page "http://0pointer.de/lennart/projects/nss-mdns/")