[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60736] [PATCH] gnu: hledger: Install documentation.
From: |
Morgan . J . Smith |
Subject: |
[bug#60736] [PATCH] gnu: hledger: Install documentation. |
Date: |
Wed, 11 Jan 2023 13:14:34 -0500 |
From: Morgan Smith <Morgan.J.Smith@outlook.com>
* gnu/packages/finance.scm (hledger)[phases]: Add install-doc phase
---
gnu/packages/finance.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f5906ec738..3c7b8a4a18 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -227,6 +227,14 @@ (define-public hledger
(base32
"07fcfkmv4cy92njnf2qc7jh0naz96q962hxldcd7hk4k7ddv0mss"))))
(build-system haskell-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-doc
+ (lambda _
+ (install-file "hledger.info" (string-append #$output
"/share/info"))
+ (install-file "hledger.1" (string-append #$output
"/man/man1")))))))
(inputs
(list ghc-ansi-terminal
ghc-base-compat-batteries
--
2.38.1
- [bug#60736] [PATCH] gnu: hledger: Install documentation.,
Morgan . J . Smith <=