summary refs log tree commit diff
path: root/gnu/packages/ratpoison.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-17 12:45:45 -0500
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-11-17 13:53:08 -0500
commit983906ab72307a5b848a54233b30d9744356de07 (patch)
tree0cffc44de71e229c2f0ba74b56e8747c8837cf7a /gnu/packages/ratpoison.scm
parentbb4d32b655ff216b734adabd8bc6783e01967aae (diff)
downloadguix-983906ab72307a5b848a54233b30d9744356de07.tar.gz
gnu: ratpoison: Fix reference to xterm.
The xterm binary must be provided to --with-xterm, not its installation
prefix.

* gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Adjust
--with-xterm flag value.
Diffstat (limited to 'gnu/packages/ratpoison.scm')
-rw-r--r--gnu/packages/ratpoison.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/ratpoison.scm b/gnu/packages/ratpoison.scm
index 799e4e0a8a..14933da5a8 100644
--- a/gnu/packages/ratpoison.scm
+++ b/gnu/packages/ratpoison.scm
@@ -52,8 +52,9 @@
       ;; Specify the absolute location of xterm, as the user experience sucks
       ;; when no terminal is available (can't consult help with 'C-t ?', for
       ;; example).
-      #:configure-flags #~(list (string-append "--with-xterm="
-                                               #$(this-package-input "xterm")))
+      #:configure-flags
+      #~(list (string-append "--with-xterm="
+                             (search-input-file %build-inputs "bin/xterm")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'install 'install-xsession