[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/09: gnu: pandoc: Install bash completions, man page.
From: |
guix-commits |
Subject: |
09/09: gnu: pandoc: Install bash completions, man page. |
Date: |
Wed, 15 Nov 2023 11:04:21 -0500 (EST) |
efraim pushed a commit to branch mesa-updates
in repository guix.
commit d1b786fe629ae9a80f37f64fdf48b9d7c132cd11
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 15 16:18:54 2023 +0200
gnu: pandoc: Install bash completions, man page.
* gnu/packages/haskell-xyz.scm (pandoc)[arguments]: Add a phase to
install the bash completions and the man page.
Change-Id: I3e5c18971e06cc3b69ed49a15ab8da11e809e532
---
gnu/packages/haskell-xyz.scm | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 018033457f..676cdfa912 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8589,6 +8589,17 @@ provided for those who need a drop-in replacement for
Markdown.pl.")
#:configure-flags #~(list "-fembed_data_files")
#:phases
#~(modify-phases %standard-phases
+ (add-after 'install 'install-more
+ (lambda _
+ (let ((bash (string-append #$output
"/etc/bash_completion.d/pandoc"))
+ (man1 (string-append #$output "/share/man/man1")))
+ (mkdir-p (dirname bash))
+ (with-output-to-file bash
+ (lambda _
+ (invoke (string-append #$output "/bin/pandoc")
+ "--bash-completion")))
+ (mkdir-p man1)
+ (install-file "man/pandoc.1" man1))))
(add-after 'register 'remove-libraries
(lambda* (#:key outputs #:allow-other-keys)
(delete-file-recursively (string-append (assoc-ref outputs
"out") "/lib")))))
- branch mesa-updates updated (92f113694f -> d1b786fe62), guix-commits, 2023/11/15
- 01/09: gnu: curl: Skip failing test on arm machines., guix-commits, 2023/11/15
- 02/09: gnu: ghc-basement: Fix build on i686-linux., guix-commits, 2023/11/15
- 08/09: gnu: ghc-pandoc: Skip failing tests from i686-linux., guix-commits, 2023/11/15
- 06/09: gnu: ghc-memory: Fix building on i686-linux., guix-commits, 2023/11/15
- 04/09: gnu: ghc-base64: Skip tests on i686-linux., guix-commits, 2023/11/15
- 05/09: gnu: ghc-bloomfilter: Update to 2.0.1.2., guix-commits, 2023/11/15
- 07/09: gnu: ghc-persistent: Fix build on i686-linux., guix-commits, 2023/11/15
- 09/09: gnu: pandoc: Install bash completions, man page.,
guix-commits <=
- 03/09: gnu: ghc-base64: Update to Cabal revision 4., guix-commits, 2023/11/15