guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

05/11: gnu: hledger: Install documentation.


From: guix-commits
Subject: 05/11: gnu: hledger: Install documentation.
Date: Thu, 19 Jan 2023 11:57:17 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit 287e2822362871aa8792e469d0dab45dc28d3c4e
Author: Morgan Smith <Morgan.J.Smith@outlook.com>
AuthorDate: Wed Jan 11 13:14:34 2023 -0500

    gnu: hledger: Install documentation.
    
    * gnu/packages/finance.scm (hledger)[phases]: Add install-doc phase
    
    Signed-off-by: Ludovic Court├Ęs <ludo@gnu.org>
---
 gnu/packages/finance.scm | 8 ++++++++
 1 file changed, 8 insertions(+)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]