diff options
author | Kyle Andrews <kyle@posteo.net> | 2023-05-03 09:46:45 +0200 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-05-03 12:35:58 +0200 |
commit | dc053d17b7893251430f0ea8a95adf7477ea350e (patch) | |
tree | 3bf2d0422152d2962f39d63cd366c43dcc385fbe /gnu/packages | |
parent | 83a6ca3c60155479525bbf01e7b9509a994c7d03 (diff) | |
download | guix-dc053d17b7893251430f0ea8a95adf7477ea350e.tar guix-dc053d17b7893251430f0ea8a95adf7477ea350e.tar.gz |
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>
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 3fa367ce74..e1fde9657a 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -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") |