gnu: ratpoison: Reference xterm absolutely.

* gnu/packages/ratpoison.scm (ratpoison) [configure-flags]: Specify the
'--with-xterm' configure flag.
[inputs]: Add xterm.
This commit is contained in:
Maxim Cournoyer 2022-10-10 21:07:17 -04:00
parent a664f453d5
commit 6b650fde41
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -49,6 +49,11 @@ (define-public ratpoison
(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 @@ (define-public ratpoison
libxtst
libx11
readline
xorgproto))
xorgproto
xterm))
(native-inputs
(list perl
pkg-config))