[Nix-dev] environment.allowedLicenses ?

Domen Kožar domen at dev.si
Wed Jan 21 21:35:49 CET 2015


Well, that function could be looking at license strings and allowing such
packages with very little code. Could be a NixOS module setting indeed.

On Wed, Jan 21, 2015 at 9:25 PM, Matthias Beyer <mail at beyermatthias.de>
wrote:

> On 21-01-2015 21:21:04, Domen Kožar wrote:
> >    We have a way to do that already, but it's not
> >    documented:A https://github.com/NixOS/nixpkgs/issues/4389
> >    If someone would document it, that would rock :-)
>
> Just found that in the code.
>
> I don't think this is actually the same. With this feature (which is
> good, no question!) you can allow _single packages_. With my idea you
> would be able to allow a set of packages by the predicate "has
> licenses XYZ".
>
> I think both things are ... maybe not entirely orthogonal to each
> other, but maybe a bit!
>
> --
> Mit freundlichen Grüßen,
> Kind regards,
> Matthias Beyer
>
> Proudly sent with mutt.
> Happily signed with gnupg.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150121/6ee8a312/attachment.html 


More information about the nix-dev mailing list