[Nix-dev] Fixing module arguments (PROPOSAL MAY BREAK EXISTING NIXOS CONFIGS, PLEASE READ)

Shea Levy shea at shealevy.com
Thu Feb 20 00:54:14 CET 2014


Yes, this is a variant on my "conservative" solution and will break
anything that uses pkgs.lib on the hot path to evaluating
config.nixpkgs. But as Eelco has said he may be willing to take that
hit, something along those lines will probably be the ultimate outcome
here.

On Wed, Feb 19, 2014 at 11:45:11PM +0000, Marc Weber wrote:
> Why can't we introduce a config.args which gets merged into the attrs to
> be passed?
> 
> This would not break pretty much everything still make it possible to
> pass additional args in two ways, via {, ...} and config.args.
> 
> This would be kind of mixing "traditional approach" with "use config"
> only - by allowing both ?
> 
> Marc Weber
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev


More information about the nix-dev mailing list