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

Bjørn Forsman bjorn.forsman at gmail.com
Wed Mar 29 13:57:35 CEST 2017


On 29 March 2017 at 13:30, Profpatsch <mail at profpatsch.de> wrote:
> On 17-03-25 11:47pm, Ertugrul Söylemez 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.
>> >
>> > In my opinion baking global implicit state into nixpkgs is not a good
>> > idea.
>>
>> It's not *state*, is it?  We're basically already doing global
>> configuration, and I think the proposal is about actually using this to
>> get a USE-like system.
>
> Once you have some kind of implicit config file for your user
> there is state.

Whatever we call it, it's already there. ~/.nixpkgs/config.nix can
affect your build.

It'd be nice to have a flag to turn that off. Like --extra-pure? :-)

- Bjørn


More information about the nix-dev mailing list