GNU bug report logs - #60736
[PATCH] gnu: hledger: Install documentation.

Previous Next

Package: guix-patches;

Reported by: Morgan.J.Smith <at> outlook.com

Date: Wed, 11 Jan 2023 18:15:01 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#60736: closed ([PATCH] gnu: hledger: Install documentation.)
Date: Thu, 19 Jan 2023 16:34:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 19 Jan 2023 17:33:04 +0100
with message-id <87h6wma3i7.fsf <at> gnu.org>
and subject line Re: bug#60736: [PATCH] gnu: hledger: Install documentation.
has caused the debbugs.gnu.org bug report #60736,
regarding [PATCH] gnu: hledger: Install documentation.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
60736: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60736
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Morgan.J.Smith <at> outlook.com
To: guix-patches <at> gnu.org
Cc: Morgan Smith <Morgan.J.Smith <at> outlook.com>
Subject: [PATCH] gnu: hledger: Install documentation.
Date: Wed, 11 Jan 2023 13:14:34 -0500
From: Morgan Smith <Morgan.J.Smith <at> 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



[Message part 3 (message/rfc822, inline)]
From: Ludovic Courtès <ludo <at> gnu.org>
To: Morgan.J.Smith <at> outlook.com
Cc: 60736-done <at> debbugs.gnu.org
Subject: Re: bug#60736: [PATCH] gnu: hledger: Install documentation.
Date: Thu, 19 Jan 2023 17:33:04 +0100
Hi,

Morgan.J.Smith <at> outlook.com skribis:

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

Applied, thanks!

Ludo’.


This bug report was last modified 2 years and 125 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.