Hi, On Mon, Sep 5, 2011 at 14:27, Ludovic Courtès <l...@gnu.org> wrote: > Hi, > > Nicolas Pierron <nicolas.b.pier...@gmail.com> skribis: > >> What I can suggest is a paradigm shift for ~/.nixpkgs/config.nix which >> would use a module like syntax, where the whole file is a function, > > It’s been the case for a long time already. Or did you mean something > different?
I mean: {pkgs, ...}: { git = pkgs.git { opt_svn = true; opt_ui = true; }; mercurial = pkgs.mercurial { python = pythonFull; }; # This is almost the idea behind Gentoo attributes opt_svn = false; # global setting. mysql = null; # don't use mysql } -- Nicolas Pierron http://www.linkedin.com/in/nicolasbpierron - http://nbp.name/ _______________________________________________ nix-dev mailing list nix-dev@cs.uu.nl https://mail.cs.uu.nl/mailman/listinfo/nix-dev