unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43014: Install license files to all outputs
@ 2020-08-24  9:00 Efraim Flashner
  2020-08-24 21:17 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Efraim Flashner @ 2020-08-24  9:00 UTC (permalink / raw)
  To: 43014

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

It seems to me that the license file(s) should be installed to all the
outputs.

As a side effect, this would help mitigate the missing static output
with some of the haskell packages.


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

* bug#43014: Install license files to all outputs
  2020-08-24  9:00 bug#43014: Install license files to all outputs Efraim Flashner
@ 2020-08-24 21:17 ` Ludovic Courtès
  2020-08-25  3:20   ` Timothy Sample
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2020-08-24 21:17 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 43014

Hi,

Efraim Flashner <efraim@flashner.co.il> skribis:

> It seems to me that the license file(s) should be installed to all the
> outputs.

Isn’t it already happening, at least with ‘gnu-build-system’?

--8<---------------cut here---------------start------------->8---
$ for i in $(guix build guile -v0) ; do ls -d $i/share/doc/*/* ; done
/gnu/store/wyflz3f6bvrmy68zjzay7s2liz4idkks-guile-3.0.4-debug/share/doc/guile-3.0.4/COPYING
/gnu/store/wyflz3f6bvrmy68zjzay7s2liz4idkks-guile-3.0.4-debug/share/doc/guile-3.0.4/COPYING.LESSER
/gnu/store/wyflz3f6bvrmy68zjzay7s2liz4idkks-guile-3.0.4-debug/share/doc/guile-3.0.4/LICENSE
/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/share/doc/guile-3.0.4/COPYING
/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/share/doc/guile-3.0.4/COPYING.LESSER
/gnu/store/ah16zr8mmfkqy23rr7jy5a842ca1q9h1-guile-3.0.4/share/doc/guile-3.0.4/LICENSE
--8<---------------cut here---------------end--------------->8---

Perhaps there are corner cases or an issue specific to
‘ghc-build-system’?

Ludo’.




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

* bug#43014: Install license files to all outputs
  2020-08-24 21:17 ` Ludovic Courtès
@ 2020-08-25  3:20   ` Timothy Sample
  2020-08-25  7:05     ` Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: Timothy Sample @ 2020-08-25  3:20 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 43014

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

> Efraim Flashner <efraim@flashner.co.il> skribis:
>
>> It seems to me that the license file(s) should be installed to all the
>> outputs.
>
> Isn’t it already happening, at least with ‘gnu-build-system’?
>
> [...]
>
> Perhaps there are corner cases or an issue specific to
> ‘ghc-build-system’?

In the case of ‘git-annex’, it just needs a ‘license-file-regexp’
argument, which is easy enough to fix.  For ‘scroll’, it’s missing a
license file.  There is “GPL.hs”, but it doesn’t really count, IMO.  It
contains the text of the GPL (version 2), but as a Haskell string.  I
guess it’s better than nothing.

I think there is no bug here, just bad luck.  :)


-- Tim




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

* bug#43014: Install license files to all outputs
  2020-08-25  3:20   ` Timothy Sample
@ 2020-08-25  7:05     ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2020-08-25  7:05 UTC (permalink / raw)
  To: Timothy Sample; +Cc: 43014-done

[-- Attachment #1: Type: text/plain, Size: 1105 bytes --]

On Mon, Aug 24, 2020 at 11:20:40PM -0400, Timothy Sample wrote:
> Ludovic Courtès <ludo@gnu.org> writes:
> 
> > Efraim Flashner <efraim@flashner.co.il> skribis:
> >
> >> It seems to me that the license file(s) should be installed to all the
> >> outputs.
> >
> > Isn’t it already happening, at least with ‘gnu-build-system’?
> >
> > [...]
> >
> > Perhaps there are corner cases or an issue specific to
> > ‘ghc-build-system’?
> 
> In the case of ‘git-annex’, it just needs a ‘license-file-regexp’
> argument, which is easy enough to fix.  For ‘scroll’, it’s missing a
> license file.  There is “GPL.hs”, but it doesn’t really count, IMO.  It
> contains the text of the GPL (version 2), but as a Haskell string.  I
> guess it’s better than nothing.
> 
> I think there is no bug here, just bad luck.  :)
> 
> 
> -- Tim

Works for me.

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

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

end of thread, other threads:[~2020-08-25  7:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-24  9:00 bug#43014: Install license files to all outputs Efraim Flashner
2020-08-24 21:17 ` Ludovic Courtès
2020-08-25  3:20   ` Timothy Sample
2020-08-25  7:05     ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).