[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] gnu: Add sg3_utils.
From: |
Chris Marusich |
Subject: |
Re: [PATCH] gnu: Add sg3_utils. |
Date: |
Sun, 14 Aug 2016 19:15:06 -0700 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Leo Famulari <address@hidden> writes:
> Generally, we have the problem of using different variables named
> 'expat', 'zlib', 'openssl', and possibly others. For those 3, there are
> both package and license variables sharing the name.
>
> So, if we want to refer to both the package and license variables of,
> for example, expat, we have to distinguish them somehow. So, we
> sometimes "prefix" the licenses when they are used, to distinguish them
> from the packages.
>
> There is a good example in 'gnu/packages/admin.scm'. Check line 33,
> where the license module is imported:
>
> 33 #:use-module ((guix licenses) #:prefix license:)
>
> and line 107, where you can see it in action:
>
> 107 (license license:gpl2+)))
>
> Using #:select to only import specific licenses can help, but you still
> have a problem when it's time to #:select the expat license.
I see! That's useful. Thanks for the tip.
--
Chris
signature.asc
Description: PGP signature
Re: [PATCH] gnu: Add sg3_utils., Leo Famulari, 2016/08/13