unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#60736] [PATCH] gnu: hledger: Install documentation.
@ 2023-01-11 18:14 Morgan.J.Smith
  2023-01-19 16:33 ` bug#60736: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Morgan.J.Smith @ 2023-01-11 18:14 UTC (permalink / raw)
  To: 60736; +Cc: Morgan Smith

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





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#60736: [PATCH] gnu: hledger: Install documentation.
  2023-01-11 18:14 [bug#60736] [PATCH] gnu: hledger: Install documentation Morgan.J.Smith
@ 2023-01-19 16:33 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2023-01-19 16:33 UTC (permalink / raw)
  To: Morgan.J.Smith; +Cc: 60736-done

Hi,

Morgan.J.Smith@outlook.com skribis:

> From: Morgan Smith <Morgan.J.Smith@outlook.com>
>
> * gnu/packages/finance.scm (hledger)[phases]: Add install-doc phase

Applied, thanks!

Ludo’.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-01-19 16:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 18:14 [bug#60736] [PATCH] gnu: hledger: Install documentation Morgan.J.Smith
2023-01-19 16:33 ` bug#60736: " Ludovic Courtès

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).