[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#50905] [PATCH 29/38] gnu: freedesktop: Unconditionally use alternat
From: |
Maxime Devos |
Subject: |
[bug#50905] [PATCH 29/38] gnu: freedesktop: Unconditionally use alternatives to % variables. |
Date: |
Thu, 30 Sep 2021 00:19:29 +0200 |
* gnu/packages/freedesktop.scm
(elogind)[arguments]<#:configure-flags>: Use #$output and this-package-input
instead of %outputs and %build-inputs.
---
gnu/packages/freedesktop.scm | 14 +++-----------
1 file changed, 3 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/freedesktop.scm b/gnu/packages/freedesktop.scm
index 550253bc34..9bcf2d8d3e 100644
--- a/gnu/packages/freedesktop.scm
+++ b/gnu/packages/freedesktop.scm
@@ -583,20 +583,12 @@ the freedesktop.org XDG Base Directory specification.")
(build-system meson-build-system)
(arguments
`(#:configure-flags
- ;; TODO(core-updates): Use #$output unconditionally.
- ,#~(let* ((out #$(if (%current-target-system)
- #~#$output
- #~(assoc-ref %outputs "out")))
+ ,#~(let* ((out #$output)
(sysconf (string-append out "/etc"))
(libexec (string-append out "/libexec/elogind"))
(dbuspolicy (string-append out "/etc/dbus-1/system.d"))
- ;; TODO(core-updates): use this-package-input unconditionally.
- (shadow #$(if (%current-target-system)
- (this-package-input "shadow")
- #~(assoc-ref %build-inputs "shadow")))
- (shepherd #$(if (%current-target-system)
- (this-package-input "shepherd")
- #~(assoc-ref %build-inputs "shepherd")))
+ (shadow #$(this-package-input "shadow"))
+ (shepherd #$(this-package-input "shepherd"))
(halt-path (string-append shepherd "/sbin/halt"))
(kexec-path "") ;not available in Guix yet
(nologin-path (string-append shadow "/sbin/nologin"))
--
2.33.0
- [bug#50905] [PATCH 19/38] gnu: gdk-pixbuf: Respect #:tests?., (continued)
- [bug#50905] [PATCH 19/38] gnu: gdk-pixbuf: Respect #:tests?., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 28/38] gnu: avahi: Make the 'patch-more-shebangs' phase unconditional., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 32/38] gnu: json-glib: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 35/38] gnu: libcap: Unconditionally use #$output., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 13/38] gnu: gobject-introspection: Use python instead of python-wrapper., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 38/38] lint: check-wrapper-inputs: Remove mentions of core-updates., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 23/38] gnu: at-spi2-core: Make 'bash-minimal' input unconditional., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 12/38] gnu: gobject-introspection: Move things to native-inputs., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 30/38] gnu: wayland: Unconditionally lookup docbook in native-inputs., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 33/38] gnu: heimdal: Make some parts of phases unconditional., Maxime Devos, 2021/09/29
- [bug#50905] [PATCH 29/38] gnu: freedesktop: Unconditionally use alternatives to % variables.,
Maxime Devos <=