summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--gnu/packages/ratpoison.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/gnu/packages/ratpoison.scm b/gnu/packages/ratpoison.scm
index 36e9619ee1..799e4e0a8a 100644
--- a/gnu/packages/ratpoison.scm
+++ b/gnu/packages/ratpoison.scm
@@ -49,6 +49,11 @@
      (list
       #:modules `((ice-9 format)
                   ,@%gnu-build-system-modules)
+      ;; 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")))
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'install 'install-xsession
@@ -78,7 +83,8 @@
            libxtst
            libx11
            readline
-           xorgproto))
+           xorgproto
+           xterm))
     (native-inputs
      (list perl
            pkg-config))