From: Morgan.J.Smith@outlook.com
To: 60736@debbugs.gnu.org
Cc: Morgan Smith <Morgan.J.Smith@outlook.com>
Subject: [bug#60736] [PATCH] gnu: hledger: Install documentation.
Date: Wed, 11 Jan 2023 13:14:34 -0500 [thread overview]
Message-ID: <DM5PR03MB3163D3F6BCD872F190733907C5FC9@DM5PR03MB3163.namprd03.prod.outlook.com> (raw)
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
next reply other threads:[~2023-01-11 18:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-11 18:14 Morgan.J.Smith [this message]
2023-01-19 16:33 ` bug#60736: [PATCH] gnu: hledger: Install documentation Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=DM5PR03MB3163D3F6BCD872F190733907C5FC9@DM5PR03MB3163.namprd03.prod.outlook.com \
--to=morgan.j.smith@outlook.com \
--cc=60736@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).