--- Begin Message ---
Subject: |
[PATCH] gnu: ledger: Install example referenced in docs. |
Date: |
Tue, 03 Jan 2023 19:04:48 -0800 |
* 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 <philip@philipmcgrath.com>
;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
+;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
;;;
;;; 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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#60537: [PATCH] gnu: ledger: Install example referenced in docs. |
Date: |
Tue, 31 Jan 2023 23:11:00 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Frank Pursel <frank.pursel@gmail.com> 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 <philip@philipmcgrath.com>
> ;;; Copyright © 2022 Collin J. Doering <collin@rekahsoft.ca>
> ;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
> +;;; Copyright © 2023 Frank Pursel <frank.pursel@gmail.com>
> ;;;
> ;;; 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’.
--- End Message ---