all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: 01/01: gnu: Add perl-inline-c.
       [not found] ` <20180403124357.2ECCC204DA@vcs0.savannah.gnu.org>
@ 2018-04-03 13:18   ` Ludovic Courtès
  2018-04-03 13:27     ` Roel Janssen
  0 siblings, 1 reply; 9+ messages in thread
From: Ludovic Courtès @ 2018-04-03 13:18 UTC (permalink / raw)
  To: guix-devel, Roel Janssen

Hi Roel,

roel@gnu.org (Roel Janssen) skribis:

> +    (license (package-license perl))))

Could you use (license perl-license) instead?  It doesn’t make any
difference in this case but it’s generally “safer” (see (guix
licenses)).

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 13:18   ` 01/01: gnu: Add perl-inline-c Ludovic Courtès
@ 2018-04-03 13:27     ` Roel Janssen
  2018-04-03 13:29       ` Roel Janssen
  0 siblings, 1 reply; 9+ messages in thread
From: Roel Janssen @ 2018-04-03 13:27 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Ludovic Courtès <ludo@gnu.org> writes:

> Hi Roel,
>
> roel@gnu.org (Roel Janssen) skribis:
>
>> +    (license (package-license perl))))
>
> Could you use (license perl-license) instead?  It doesn’t make any
> difference in this case but it’s generally “safer” (see (guix
> licenses)).

Of course!  If I may ask, is the coreutils input and the substitution OK?

> Thanks,
> Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 13:27     ` Roel Janssen
@ 2018-04-03 13:29       ` Roel Janssen
  2018-04-03 17:00         ` Nils Gillmann
  0 siblings, 1 reply; 9+ messages in thread
From: Roel Janssen @ 2018-04-03 13:29 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guix-devel


Roel Janssen <roel@gnu.org> writes:

> Ludovic Courtès <ludo@gnu.org> writes:
>
>> Hi Roel,
>>
>> roel@gnu.org (Roel Janssen) skribis:
>>
>>> +    (license (package-license perl))))
>>
>> Could you use (license perl-license) instead?  It doesn’t make any
>> difference in this case but it’s generally “safer” (see (guix
>> licenses)).
>
> Of course!  If I may ask, is the coreutils input and the substitution OK?

Nevermind, I'm mixing this up with another Perl package.

>
>> Thanks,
>> Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 13:29       ` Roel Janssen
@ 2018-04-03 17:00         ` Nils Gillmann
  2018-04-03 19:34           ` Mark H Weaver
  2018-04-03 21:20           ` Ricardo Wurmus
  0 siblings, 2 replies; 9+ messages in thread
From: Nils Gillmann @ 2018-04-03 17:00 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

Roel Janssen transcribed 509 bytes:
> 
> Roel Janssen <roel@gnu.org> writes:
> 
> > Ludovic Courtès <ludo@gnu.org> writes:
> >
> >> Hi Roel,
> >>
> >> roel@gnu.org (Roel Janssen) skribis:
> >>
> >>> +    (license (package-license perl))))
> >>
> >> Could you use (license perl-license) instead?  It doesn’t make any
> >> difference in this case but it’s generally “safer” (see (guix
> >> licenses)).

Can you tell me why it is safer to say perl-license instead of package-license perl?

> > Of course!  If I may ask, is the coreutils input and the substitution OK?
> 
> Nevermind, I'm mixing this up with another Perl package.
> 
> >
> >> Thanks,
> >> Ludo’.
> 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 17:00         ` Nils Gillmann
@ 2018-04-03 19:34           ` Mark H Weaver
  2018-04-03 19:51             ` Nils Gillmann
  2018-04-03 21:20           ` Ricardo Wurmus
  1 sibling, 1 reply; 9+ messages in thread
From: Mark H Weaver @ 2018-04-03 19:34 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

Nils Gillmann <ng0@n0.is> writes:

>> > Ludovic Courtès <ludo@gnu.org> writes:
>> >
>> >> roel@gnu.org (Roel Janssen) skribis:
>> >>
>> >>> +    (license (package-license perl))))
>> >>
>> >> Could you use (license perl-license) instead?  It doesn’t make any
>> >> difference in this case but it’s generally “safer” (see (guix
>> >> licenses)).
>
> Can you tell me why it is safer to say perl-license instead of package-license perl?

I'm not a laywer, but if a future version of 'perl' were released under
a different license, I strongly doubt that this would retroactively
change the licenses of any earlier works.  That's exactly what would
happen in Guix if we write (license (package-license perl)) and then
later change the 'license' field of the 'perl' package.

       Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 19:34           ` Mark H Weaver
@ 2018-04-03 19:51             ` Nils Gillmann
  2018-04-03 20:14               ` Mark H Weaver
  0 siblings, 1 reply; 9+ messages in thread
From: Nils Gillmann @ 2018-04-03 19:51 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: guix-devel

Mark H Weaver transcribed 826 bytes:
> Nils Gillmann <ng0@n0.is> writes:
> 
> >> > Ludovic Courtès <ludo@gnu.org> writes:
> >> >
> >> >> roel@gnu.org (Roel Janssen) skribis:
> >> >>
> >> >>> +    (license (package-license perl))))
> >> >>
> >> >> Could you use (license perl-license) instead?  It doesn’t make any
> >> >> difference in this case but it’s generally “safer” (see (guix
> >> >> licenses)).
> >
> > Can you tell me why it is safer to say perl-license instead of package-license perl?
> 
> I'm not a laywer, but if a future version of 'perl' were released under
> a different license, I strongly doubt that this would retroactively
> change the licenses of any earlier works.  That's exactly what would
> happen in Guix if we write (license (package-license perl)) and then
> later change the 'license' field of the 'perl' package.
> 
>        Mark
> 

Hm, but this is just our specification, metadata about a package.
This doesn't affect the reality of the package distribution.
If the license of perl itself changes we would just have made a mistake.
We can not be held accountable for mistakes in pointing out a 
license, at least that is my understanding. I guess we just are
trying to prevent licensing mistakes in the future for the hypothetical
case that perl ever changes its license?

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 19:51             ` Nils Gillmann
@ 2018-04-03 20:14               ` Mark H Weaver
  0 siblings, 0 replies; 9+ messages in thread
From: Mark H Weaver @ 2018-04-03 20:14 UTC (permalink / raw)
  To: Roel Janssen; +Cc: guix-devel

Nils Gillmann <ng0@n0.is> writes:
> I guess we just are trying to prevent licensing mistakes in the future
> for the hypothetical case that perl ever changes its license?

Yes, exactly.

      Mark

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 17:00         ` Nils Gillmann
  2018-04-03 19:34           ` Mark H Weaver
@ 2018-04-03 21:20           ` Ricardo Wurmus
  2018-04-04  8:37             ` Ludovic Courtès
  1 sibling, 1 reply; 9+ messages in thread
From: Ricardo Wurmus @ 2018-04-03 21:20 UTC (permalink / raw)
  To: Nils Gillmann; +Cc: guix-devel


Nils Gillmann <ng0@n0.is> writes:

> Roel Janssen transcribed 509 bytes:
>> 
>> Roel Janssen <roel@gnu.org> writes:
>> 
>> > Ludovic Courtès <ludo@gnu.org> writes:
>> >
>> >> Hi Roel,
>> >>
>> >> roel@gnu.org (Roel Janssen) skribis:
>> >>
>> >>> +    (license (package-license perl))))
>> >>
>> >> Could you use (license perl-license) instead?  It doesn’t make any
>> >> difference in this case but it’s generally “safer” (see (guix
>> >> licenses)).
>
> Can you tell me why it is safer to say perl-license instead of package-license perl?

Following Ludo’s reference to “(guix licenses)” we can see this comment:

  ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
  ;; We define this alias to avoid circular dependencies introduced by the use
  ;; of the '(package-license perl)' idiom.

-- 
Ricardo

GPG: BCA6 89B6 3655 3801 C3C6  2150 197A 5888 235F ACAC
https://elephly.net

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: 01/01: gnu: Add perl-inline-c.
  2018-04-03 21:20           ` Ricardo Wurmus
@ 2018-04-04  8:37             ` Ludovic Courtès
  0 siblings, 0 replies; 9+ messages in thread
From: Ludovic Courtès @ 2018-04-04  8:37 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: guix-devel, Nils Gillmann

Ricardo Wurmus <rekado@elephly.net> skribis:

> Nils Gillmann <ng0@n0.is> writes:

[...]

>> Can you tell me why it is safer to say perl-license instead of package-license perl?
>
> Following Ludo’s reference to “(guix licenses)” we can see this comment:
>
>   ;; The license of Perl, GPLv1+ or Artistic (we ignore the latter here).
>   ;; We define this alias to avoid circular dependencies introduced by the use
>   ;; of the '(package-license perl)' idiom.

Exactly.  The problem arose when we started writing (package-license
perl) in modules other than perl.scm but that were in a cycle with
perl.scm.

Ludo’.

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-04-04  8:37 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20180403124356.20162.76789@vcs0.savannah.gnu.org>
     [not found] ` <20180403124357.2ECCC204DA@vcs0.savannah.gnu.org>
2018-04-03 13:18   ` 01/01: gnu: Add perl-inline-c Ludovic Courtès
2018-04-03 13:27     ` Roel Janssen
2018-04-03 13:29       ` Roel Janssen
2018-04-03 17:00         ` Nils Gillmann
2018-04-03 19:34           ` Mark H Weaver
2018-04-03 19:51             ` Nils Gillmann
2018-04-03 20:14               ` Mark H Weaver
2018-04-03 21:20           ` Ricardo Wurmus
2018-04-04  8:37             ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.