aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2021-11-06 04:53:34 -0400
committerRaghav Gururajan <rg@raghavgururajan.name>2021-12-03 15:27:41 -0500
commit19528e39bb00cc25a41a134f7af63873fa297b77 (patch)
treef2ab9beb03ff0e70092dfe5ebc81768e72c3170e /gnu
parent170cb4c881557c14ddb6bf0d069991256545196c (diff)
downloadguix-19528e39bb00cc25a41a134f7af63873fa297b77.tar
guix-19528e39bb00cc25a41a134f7af63873fa297b77.tar.gz
gnu: st: Install terminfo files.
* gnu/packages/suckless.scm (st)[native-inputs]: Add ncurses. [make-flags](TERMINFO): New flag. [phases](inhibit-terminfo-install): Remove phase. Signed-off-by: Raghav Gururajan <rg@raghavgururajan.name>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/suckless.scm13
1 files changed, 6 insertions, 7 deletions
diff --git a/gnu/packages/suckless.scm b/gnu/packages/suckless.scm
index b4855ec0a2..efa5c023c0 100644
--- a/gnu/packages/suckless.scm
+++ b/gnu/packages/suckless.scm
@@ -378,22 +378,21 @@ numbers of user-defined menu items efficiently.")
`(#:tests? #f ; no tests
#:make-flags
(list (string-append "CC=" ,(cc-for-target))
+ (string-append "TERMINFO="
+ (assoc-ref %outputs "out")
+ "/share/terminfo")
(string-append "PREFIX=" %output))
#:phases
(modify-phases %standard-phases
- (delete 'configure)
- (add-after 'unpack 'inhibit-terminfo-install
- (lambda _
- (substitute* "Makefile"
- (("\ttic .*") ""))
- #t)))))
+ (delete 'configure))))
(inputs
`(("libx11" ,libx11)
("libxft" ,libxft)
("fontconfig" ,fontconfig)
("freetype" ,freetype)))
(native-inputs
- `(("pkg-config" ,pkg-config)))
+ `(("ncurses" ,ncurses) ;provides tic program
+ ("pkg-config" ,pkg-config)))
(home-page "https://st.suckless.org/")
(synopsis "Simple terminal emulator")
(description