[Nix-dev] environment.allowedLicenses ?

Nikita Karetnikov nikita at karetnikov.org
Mon Jan 26 15:38:16 CET 2015


>> I actually think we should *remove* meta.license entirely (because it doesn't
>> provide useful info to users and tends to be wrong or incomplete anyway), and
>> replace it with attributes that have operational meaning:

> People who do care about the exact license of a package should use a tool like
> Ninka do extract the actual license, rather than depend on meta.license (since,
> as I said, it tends to be incomplete or wrong).

How do the attributes solve this issue?  One can specify an incorrect
attribute, no?

I don’t see a problem.  If a Nix package specifies a wrong license, fix
it.  If you use a tool like cabal2nix and the problem is upstream, then
send a patch upstream.  I did this for yesod-markdown, no big deal.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150126/b3d87c40/attachment.bin 


More information about the nix-dev mailing list