[Nix-dev] nix&bindist
Lluís Batlle i Rossell
viriketo at gmail.com
Sun Sep 25 18:46:13 CEST 2011
On Sun, Sep 25, 2011 at 06:34:40PM +0200, Nicolas Pierron wrote:
> 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.
Hydra distributes all binaries that it builds. Do you mean that hydra should
build (and report) some derivations, but not distribute them?
More information about the nix-dev
mailing list