[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53818] [PATCH v3 7/7] gnu: xorg-server-xwayland: Prepare for cross-
From: |
Xinglu Chen |
Subject: |
[bug#53818] [PATCH v3 7/7] gnu: xorg-server-xwayland: Prepare for cross-compilation. |
Date: |
Wed, 09 Feb 2022 14:25:32 +0100 |
* gnu/packages/xorg.scm (xorg-server-xwayland)[arguments]<#:phases>: Use
‘search-input-file’ instead of ‘which’.
---
gnu/packages/xorg.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index 8be7017da7..dea7268a2e 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -5518,9 +5518,10 @@ (define-public xorg-server-xwayland
"--localstatedir=/var")
#:phases (modify-phases %standard-phases
(add-after 'unpack 'patch-/bin/sh
- (lambda _
+ (lambda* (#:key inputs #:allow-other-keys)
(substitute* (find-files "." "\\.c$")
- (("/bin/sh") (which "sh"))))))))
+ (("/bin/sh")
+ (search-input-file inputs "bin/sh"))))))))
(properties
'((repology-name . "xwayland")))
(synopsis "Xorg server with Wayland backend")
--
2.34.1
- [bug#53818] [PATCH v2 2/7] http-client: Make 'http-fetch/cached' take '#:headers' argument., (continued)
- [bug#53818] [PATCH v2 2/7] http-client: Make 'http-fetch/cached' take '#:headers' argument., Xinglu Chen, 2022/02/07
- [bug#53818] [PATCH v2 6/7] gnu: xorg-server-xwayland: Set 'repology-name' property., Xinglu Chen, 2022/02/07
- [bug#53818] [PATCH v2 7/7] gnu: xorg-server-xwayland: Prepare for cross-compilation., Xinglu Chen, 2022/02/07
- [bug#53818] [PATCH v2 4/7] import: json: Make 'json-fetch' take '#:cached?' argument., Xinglu Chen, 2022/02/07
- [bug#53818] [PATCH v3 0/7] Add Repology updater, Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH v3 2/7] http-client: Make 'http-fetch/cached' take '#:headers' argument., Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH v3 3/7] http-client: 'http-fetch/cached' accepts a string or a <uri>., Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH v3 1/7] upstream: Sort list of updaters., Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH v3 4/7] import: json: Make 'json-fetch' take '#:http-fetch' argument., Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH v3 7/7] gnu: xorg-server-xwayland: Prepare for cross-compilation.,
Xinglu Chen <=
- [bug#53818] [PATCH v3 6/7] gnu: xorg-server-xwayland: Set 'repology-name' property., Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH v3 5/7] import: Add 'repology' updater., Xinglu Chen, 2022/02/09
- [bug#53818] [PATCH 0/3] Add Repology updater, Ludovic Courtès, 2022/02/08
- [bug#53818] [PATCH 0/3] Add Repology updater, Ludovic Courtès, 2022/02/10
- [bug#53818] [PATCH 0/3] Add Repology updater, Nicolas Goaziou, 2022/02/14
- [bug#53818] [PATCH 0/3] Add Repology updater, Maxime Devos, 2022/02/14