You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The allowUnfree configuration flag in Nixpkgs is currently set to true. It should be set to false (at least in NixOS) to prevent people from depending on unfree software by accident. This should make it less controversial to include Nix expressions and NixOS modules for unfree software, since they cannot cause users to end up with an unfree system unless they explicitly ask for it.
(Note that allowUnfree does permit redistributable firmware packages at the moment, which is probably unavoidable for the foreseeable future.)
So is there gonna be a distinction between unfree and undistributable?
What about software that is redistributable but doesn't have a fully libre license?
And binary stuff like nvidia-x11 ?
It turned out to be slightly more complicated than changing the default to false (due to the f-prot module causing the unconditional evaluation of the unfree f-prot package, and pkgs_i686 complications), but it's done.
I think we should also decide some rule that packages/modules should never use/check allowUnfree. If a user needs to enable this because he needs the nvidia binary driver, this should not mean packages decide to also include proprietary plugins automatically.
IMHO this is just a simple toggle for users, which makes more stuff available.
If needed, we can create some enableUnfreeFunctionalityByDefault option, but I think this should be decided on a case-by-case basis.
@edolstra: is there a reason not to provide more helpful error messages? (as suggested above) Currently it just states that you can't use the package (because it's unfree, marked as broken, etc.). I do believe it should point to information how to override this.
Activity
set allowUnfree = false by default (close NixOS#2134)
vcunat commentedon Apr 8, 2014
So something like this commit? vcunat@34f0e50
BTW, I believe all similar
throws should indicate how to override these checks. Shall I prepare a similar commit for that?bluescreen303 commentedon Apr 8, 2014
So is there gonna be a distinction between unfree and undistributable?
What about software that is redistributable but doesn't have a fully libre license?
And binary stuff like nvidia-x11 ?
vcunat commentedon Apr 8, 2014
There is "unfree-redistributable" already (and built by Hydra currently).
bluescreen303 commentedon Apr 8, 2014
But will we need
allowUnfree = truefor those as well?edolstra commentedon Apr 8, 2014
Yes.
edolstra commentedon Apr 8, 2014
It turned out to be slightly more complicated than changing the default to
false(due to the f-prot module causing the unconditional evaluation of the unfree f-prot package, and pkgs_i686 complications), but it's done.bluescreen303 commentedon Apr 9, 2014
I think we should also decide some rule that packages/modules should never use/check
allowUnfree. If a user needs to enable this because he needs the nvidia binary driver, this should not mean packages decide to also include proprietary plugins automatically.IMHO this is just a simple toggle for users, which makes more stuff available.
If needed, we can create some
enableUnfreeFunctionalityByDefaultoption, but I think this should be decided on a case-by-case basis.vcunat commentedon Apr 11, 2014
@edolstra: is there a reason not to provide more helpful error messages? (as suggested above) Currently it just states that you can't use the package (because it's unfree, marked as broken, etc.). I do believe it should point to information how to override this.