From 6b650fde4104113881f01ba809a33eaeb915b905 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 10 Oct 2022 21:07:17 -0400 Subject: gnu: ratpoison: Reference xterm absolutely. * gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Specify the '--with-xterm' configure flag. [inputs]: Add xterm. --- gnu/packages/ratpoison.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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)) -- cgit v1.2.3