[Nix-dev] gentoo like nixpkgs globala useflags in nixpkgs config - would it be worth it?

Profpatsch mail at profpatsch.de
Fri Mar 24 22:54:16 CET 2017


On 17-03-24 03:18pm, Marc Weber wrote:
> Issue pulseSupport -> does it make sense to have a global 'enable pulse
> for all packgages' config.pulseSupport = true flag?
> 
> packages could be using:  config.pulseSupport or false to disable by
> default then.
> 
> Having a defaultFlags = {
>   config.sox = null; # does this cause the package default being used in "config.sox or false" ?
>   config.pulseSupport = null; # please note: you can enable, but most packages will work with pulse without doing so 
>   config.qtSupport = null;
>   config.gtkSupport = null;

In my opinion baking global implicit state into nixpkgs
is not a good idea.

-- 
Proudly written in Mutt with Vim on NixOS.
Q: Why is this email five sentences or less?
A: http://five.sentenc.es
May take up to five days to read your message. If it’s urgent, call me.


More information about the nix-dev mailing list