gnu: avahi: Make all arguments unconditional.
* gnu/packages/avahi.scm (avahi)[origin]: Fix indentation and remove trailing #t. [arguments]: Re-integrate conditional arguments.
This commit is contained in:
parent
80d8cf6cc6
commit
756188a8da
1 changed files with 28 additions and 35 deletions
|
@ -57,8 +57,7 @@
|
||||||
;; This can be removed for Avahi versions > 0.8.
|
;; This can be removed for Avahi versions > 0.8.
|
||||||
(substitute* "avahi-libevent.pc.in"
|
(substitute* "avahi-libevent.pc.in"
|
||||||
(("libevent-2\\.1\\.5")
|
(("libevent-2\\.1\\.5")
|
||||||
"libevent >= 2.1.5"))
|
"libevent >= 2.1.5"))))))
|
||||||
#t))))
|
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("--with-distro=none"
|
`(#:configure-flags '("--with-distro=none"
|
||||||
|
@ -75,9 +74,7 @@
|
||||||
,@(if (%current-target-system)
|
,@(if (%current-target-system)
|
||||||
'("ac_cv_prog_have_pkg_config=yes")
|
'("ac_cv_prog_have_pkg_config=yes")
|
||||||
'()))
|
'()))
|
||||||
;; TODO(core-updates): Make this unconditional.
|
#:modules ((srfi srfi-26)
|
||||||
,@(if (%current-target-system)
|
|
||||||
`(#:modules ((srfi srfi-26)
|
|
||||||
(guix build utils)
|
(guix build utils)
|
||||||
(guix build gnu-build-system))
|
(guix build gnu-build-system))
|
||||||
#:phases
|
#:phases
|
||||||
|
@ -88,13 +85,9 @@
|
||||||
`(,(dirname (search-input-file inputs "bin/sh"))))
|
`(,(dirname (search-input-file inputs "bin/sh"))))
|
||||||
(for-each
|
(for-each
|
||||||
(cut patch-shebang <> path)
|
(cut patch-shebang <> path)
|
||||||
(find-files (string-append #$output "/etc/avahi")))))))
|
(find-files (string-append #$output "/etc/avahi"))))))))
|
||||||
'())))
|
|
||||||
(inputs
|
(inputs
|
||||||
;; TODO(core-updates): Make this input unconditional.
|
`(("bash-minimal" ,bash-minimal)
|
||||||
`(,@(if (%current-target-system)
|
|
||||||
`(("bash-minimal" ,bash-minimal))
|
|
||||||
'())
|
|
||||||
("dbus" ,dbus)
|
("dbus" ,dbus)
|
||||||
("expat" ,expat)
|
("expat" ,expat)
|
||||||
("gdbm" ,gdbm)
|
("gdbm" ,gdbm)
|
||||||
|
|
Reference in a new issue