Hi Sughosha,

On 2026-04-29 at 06:14+05:30, Sughosha wrote:
> The package Reference of the Guix manual only says this much
> regarding package license:
>
> > The license of the package; a value from (guix licenses),
> > or a list of such values.
>
> <https://guix.gnu.org/manual/devel/en/guix.html#package-Reference>
>
> But to me it is unclear whether it is applicable only
> to an installable (by `guix package --install PACKAGE`) package
> or is it also applicable to the `source` of the package
> (which can be obtained by `guix build --source PACKAGE`)
>
> I got this question because there are some examples or demos
> in various source codes which use different licenses
> than the main (built) programs but are not built
> and installed at the end.  Should the `license` field
> of such package definitions also include the licenses
> used by such unused demos or examples in their source codes?

I understand the license as of what is distributed, so both.
By using origin-snippet you can remove the non-free files.

I don't know how other interpret the meaning of that field though.

Cheers,
Phong

Attachment: signature.asc
Description: PGP signature

  • Clearity on the s... Sughosha
    • Re: Clearity... Development of GNU Guix and the GNU System distribution.
      • Re: Clea... Sughosha
        • Re: ... Maxim Cournoyer
          • ... Development of GNU Guix and the GNU System distribution.
            • ... Maxim Cournoyer
              • ... Development of GNU Guix and the GNU System distribution.
                • ... Maxim Cournoyer
                • ... Development of GNU Guix and the GNU System distribution.
                • ... Maxim Cournoyer
                • ... Sughosha

Reply via email to