aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-10 21:07:17 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2022-10-11 11:29:02 +0000
commit6b650fde4104113881f01ba809a33eaeb915b905 (patch)
tree8c5cd05416f1d2c2eb93f3800938098db6af4360
parenta664f453d5188834102a4bdb470835de062a11d0 (diff)
downloadguix-6b650fde4104113881f01ba809a33eaeb915b905.tar
guix-6b650fde4104113881f01ba809a33eaeb915b905.tar.gz
gnu: ratpoison: Reference xterm absolutely.
* gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Specify the '--with-xterm' configure flag. [inputs]: Add xterm.
-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))