guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 122423da2fecc1059ea795da1d0ef24c683aff92
Author: Alvin Hsu <[email protected]>
AuthorDate: Tue Sep 8 15:38:05 2026 -0400
gnu: gnome-shell-extension-gsconnect: Use search-input-file.
* gnu/packages/gnome-xyz.scm (gnome-shell-extension-gsconnect):
[arguments]<#:phases>{patch-gjs-shebangs}: Use ‘search-input-file’ instead
of
‘which’.
Signed-off-by: Liliana Marie Prikler <[email protected]>
---
gnu/packages/gnome-xyz.scm | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/gnome-xyz.scm b/gnu/packages/gnome-xyz.scm
index c305632347c..dac8ce253bb 100644
--- a/gnu/packages/gnome-xyz.scm
+++ b/gnu/packages/gnome-xyz.scm
@@ -1040,7 +1040,8 @@ Requires the focus-timer application to be installed.")
(for-each (lambda (file)
(substitute* file
(("^#!/usr/bin/env -S gjs.*$")
- (string-append "#!" (which "gjs") " -m"))))
+ (string-append
+ "#!" (search-input-file inputs "/bin/gjs") "
-m"))))
'("installed-tests/minijasmine"
"src/gsconnect-preferences"
"src/service/nativeMessagingHost.js"