me
/
guix
Archived
1
0
Fork 0

gnu: emacs-tldr: Include unzip dependency.

* gnu/packages/emacs-xyz.scm (emacs-tldr)[arguments]<#:phases>: Add a phase to
avoid propagating unzip.
[inputs]: Add unzip.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
master
Kyle Andrews 2023-05-03 09:46:45 +02:00 committed by Nicolas Goaziou
parent 83a6ca3c60
commit dc053d17b7
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 12 additions and 0 deletions

View File

@ -27735,6 +27735,18 @@ leader key in vim), and much more.")
"1bw6la463l2yfm7rp76ga4makfy4kpxgwi7ni5gxk31w11g26ryk"))
(file-name (git-file-name name version))))
(build-system emacs-build-system)
(arguments
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'set-unzip-location
(lambda* (#:key inputs #:allow-other-keys)
(substitute* "tldr.el"
(("\"unzip")
(string-append "\""
(search-input-file inputs "/bin/unzip")))))))))
(inputs
(list unzip))
(propagated-inputs
(list emacs-request))
(synopsis "Simplified and community-driven man pages for Emacs")