GNU bug report logs -
#53818
[PATCH 0/3] Add Repology updater
Previous Next
Full log
Message #140 received at 53818 <at> debbugs.gnu.org (full text, mbox):
* 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
This bug report was last modified 3 years and 102 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.