summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMorgan Smith <Morgan.J.Smith@outlook.com>2023-01-11 13:14:34 -0500
committerLudovic Courtès <ludo@gnu.org>2023-01-19 17:54:49 +0100
commit287e2822362871aa8792e469d0dab45dc28d3c4e (patch)
treedee9c8067cd3b62997ad7c5095640eb90ad98e8c /gnu/packages
parentb9d676e0ee7b52ef4bb202507ccc94b5cab590b2 (diff)
gnu: hledger: Install documentation.
* gnu/packages/finance.scm (hledger)[phases]: Add install-doc phase Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/finance.scm8
1 files changed, 8 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index ad58721cb3..668fe55172 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -227,6 +227,14 @@ line client and a client based on Qt.")
(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