diff mbox series

[bug#51322] guix: packages: Add comment on license field.

Message ID 20211021214055.21258-1-jgart@dismail.de
State Accepted
Headers show
Series [bug#51322] guix: packages: Add comment on license field. | expand

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job
cbaines/issue success View issue

Commit Message

jgart Oct. 21, 2021, 9:40 p.m. UTC
* guix/packages/packages.scm (package): Add comment about the type that
the license field expects as part of a package record.
---
 guix/packages.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tobias Geerinckx-Rice Oct. 21, 2021, 10:06 p.m. UTC | #1
Jgart,

jgart via Guix-patches via 写道:
> +  (license package-license)                      ; <license> 
> instance

Thanks!

It can also be a list of <license>s, which I tried to express as 
well as I could within 30 characters…

As commit 886d04425e5a087816979b8a96b1e706693b5f93,

T G-R
jgart Oct. 21, 2021, 10:50 p.m. UTC | #2
On Fri, 22 Oct 2021 00:06:01 +0200 Tobias Geerinckx-Rice <me@tobias.gr> wrote:
> Jgart,
> 
> jgart via Guix-patches via 写道:
> > +  (license package-license)                      ; <license> 
> > instance
> 
> Thanks!
> 
> It can also be a list of <license>s, which I tried to express as 
> well as I could within 30 characters…

Ah yes. Cool! Thanks for adding that and accepting the patch.

all best,

jgart
diff mbox series

Patch

diff --git a/guix/packages.scm b/guix/packages.scm
index 8c3a0b0b7b..d4f23f4a11 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -473,7 +473,7 @@  (define-record-type* <package>
 
   (synopsis package-synopsis)                    ; one-line description
   (description package-description)              ; one or two paragraphs
-  (license package-license)
+  (license package-license)                      ; <license> instance
   (home-page package-home-page)
   (supported-systems package-supported-systems    ; list of strings
                      (default %supported-systems))