[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50905] [PATCH core-updates v2 28/38] gnu: avahi: Make the 'patch-mo
From: |
Maxime Devos |
Subject: |
[bug#50905] [PATCH core-updates v2 28/38] gnu: avahi: Make the 'patch-more-shebangs' phase unconditional. |
Date: |
Fri, 1 Oct 2021 16:21:30 +0200 |
* gnu/packages/avahi.scm (avahi)[arguments]<#:phases>{patch-more-shebangs}:
Make it unconditional.
---
gnu/packages/avahi.scm | 27 ++++++++++++---------------
1 file changed, 12 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/avahi.scm b/gnu/packages/avahi.scm
index 20c0f2708e..797e35e7eb 100644
--- a/gnu/packages/avahi.scm
+++ b/gnu/packages/avahi.scm
@@ -75,21 +75,18 @@
,@(if (%current-target-system)
'("ac_cv_prog_have_pkg_config=yes")
'()))
- ;; TODO(core-updates): Make this unconditional.
- ,@(if (%current-target-system)
- `(#:modules ((srfi srfi-26)
- (guix build utils)
- (guix build gnu-build-system))
- #:phases
- ,#~(modify-phases %standard-phases
- (add-after 'patch-shebangs 'patch-more-shebangs
- (lambda* (#:key inputs #:allow-other-keys)
- (define path
- `(,(dirname (search-input-file inputs "bin/sh"))))
- (for-each
- (cut patch-shebang <> path)
- (find-files (string-append #$output
"/etc/avahi")))))))
- '())))
+ #:modules ((srfi srfi-26)
+ (guix build utils)
+ (guix build gnu-build-system))
+ #:phases
+ ,#~(modify-phases %standard-phases
+ (add-after 'patch-shebangs 'patch-more-shebangs
+ (lambda* (#:key inputs #:allow-other-keys)
+ (define path
+ `(,(dirname (search-input-file inputs "bin/sh"))))
+ (for-each
+ (cut patch-shebang <> path)
+ (find-files (string-append #$output "/etc/avahi"))))))))
(inputs
`(("bash-minimal" ,bash-minimal)
("dbus" ,dbus)
--
2.33.0
- [bug#50905] [PATCH core-updates v2 38/38] lint: check-wrapper-inputs: Remove mentions of core-updates., (continued)
- [bug#50905] [PATCH core-updates v2 38/38] lint: check-wrapper-inputs: Remove mentions of core-updates., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 36/38] gnu: libproxy: Respect #:tests?., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 33/38] gnu: heimdal: Make some parts of phases unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 03/38] gnu: mozjs: Use mozilla-build-system., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 25/38] gnu: at-spi2-core: Unconditionally lookup docbook in native-inputs., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 35/38] gnu: libcap: Unconditionally use #$output., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 07/38] gnu: mozjs: Make the quasiquote unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 10/38] gnu: isc-dhcp: Remove unnecessary shebang patching., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 05/38] build/minetest-build-system: Move png-file? to (guix build utils)., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 14/38] gnu: cairo: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 28/38] gnu: avahi: Make the 'patch-more-shebangs' phase unconditional.,
Maxime Devos <=
- [bug#50905] [PATCH core-updates v2 15/38] gnu: libthai: Make 'datrie' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 20/38] gnu: gdk-pixbuf: Use target predicates., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 18/38] gnu: gdk-pixbuf: Unconditionally lookup docbook in native-inputs., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 23/38] gnu: at-spi2-core: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 27/38] gnu: avahi: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 21/38] gnu: gdk-pixbuf: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 22/38] gnu: gdk-pixbuf: Remove trailing #t., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 24/38] gnu: at-spi2-core: Respect #:tests?., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 29/38] gnu: freedesktop: Unconditionally use alternatives to % variables., Maxime Devos, 2021/10/01
- [bug#50905] [PATCH core-updates v2 26/38] gnu: at-spi2-core: Remove trailing #t., Maxime Devos, 2021/10/01