Subject: bug#60537: closed (Re: bug#60537: [PATCH] gnu: ledger: Install example referenced in docs.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 31 Jan 2023 22:12:02 +0000

Your bug report

#60537: [PATCH] gnu: ledger: Install example referenced in docs.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
60537: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=60537
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#60537: [PATCH] gnu: ledger: Install example referenced in docs.
From: Ludovic Courtès <[email-masked]>
To: Frank Pursel <[email-masked]>
Cc: [email-masked]
Date: Tue, 31 Jan 2023 23:11:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Frank Pursel <[email-masked]> skribis:

> Better.
>
> diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
> index f5906ec738..e96058e7b2 100644
> --- a/gnu/packages/finance.scm
> +++ b/gnu/packages/finance.scm
> @@ -32,6 +32,7 @@
>  ;;; Copyright © 2022 Philip McGrath <[email-masked]>
>  ;;; Copyright © 2022 Collin J. Doering <[email-masked]>
>  ;;; Copyright © 2022 Justin Veilleux <[email-masked]>
> +;;; Copyright © 2023 Frank Pursel <[email-masked]>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -342,7 +343,8 @@ (define-public ledger
>               (let ((examples (string-append (assoc-ref outputs "out")
>                                              "/share/doc/ledger/examples")))
>                 (install-file "test/input/sample.dat" examples)
> -               (install-file "test/input/demo.ledger" examples))
> +               (install-file "test/input/demo.ledger" examples)
> +               (install-file "contrib/report" examples))

Hi!  Applied with a commit log, thanks.

Ludo’.

Subject: [PATCH] gnu: ledger: Install example referenced in docs.
From: Frank Pursel <[email-masked]>
To: [email-masked]
Date: Tue, 03 Jan 2023 19:04:48 -0800
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/finance.scm (ledger): Provide additional script from upstream.
---
 gnu/packages/finance.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index f5906ec738..abc2134aee 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -32,6 +32,7 @@
 ;;; Copyright © 2022 Philip McGrath <[email-masked]>
 ;;; Copyright © 2022 Collin J. Doering <[email-masked]>
 ;;; Copyright © 2022 Justin Veilleux <[email-masked]>
+;;; Copyright © 2023 Frank Pursel <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -342,7 +343,8 @@ (define-public ledger
              (let ((examples (string-append (assoc-ref outputs "out")
                                             "/share/doc/ledger/examples")))
                (install-file "test/input/sample.dat" examples)
-               (install-file "test/input/demo.ledger" examples))
+               (install-file "test/input/demo.ledger" examples)
+               (install-file "config/report" examples))
              #t))
          (add-after 'build 'build-doc
            (lambda _ (invoke "make" "doc")))
-- 
2.38.1