[Nix-dev] nix&bindist
Nicolas Pierron
nicolas.b.pierron at gmail.com
Sun Sep 25 18:34:40 CEST 2011
On Sat, Sep 24, 2011 at 22:36, Yury G. Kudryashov
<urkud.urkud at gmail.com> wrote:
> Gentoo has 'bindist' use flag to mark whether the binary packages will be
> distributed in binary form. What about introducing some variable (say,
> nixpkgs.config.isBuildfarm) to mark that the result of the build is
> available to download? Then packages can assert !isBuildfarm;
>
> In the ideal world we should have some license manager that automatically
> calculates the license of each package but it does not seem trivial to
> implement...
This can be a property of the license expression such as
"lib.licenses.proprietary.distribute", which is better localized than
the "meta.isBuildfarm". Thus we don't have to care about license
violation if we can ensure that licenses are correctly set and that
each license is well define.
--
Nicolas Pierron
http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/
More information about the nix-dev
mailing list