Silvan Mosberger e1dee4efcb lib: make extensible
This allows the lib fixed point to be extended with

  myLib = lib.extend (self: super: {
    foo = "foo";
  })

With this it's possible to have the new modified lib attrset available to all
modules when using evalModules

  myLib.evalModules {
    modules = [ ({ lib, ... }: {
      options.bar = lib.mkOption {
	default = lib.foo;
      };
    }) ];
  }

  => { config = { bar = "foo"; ... }; options = ...; }
2018-04-07 13:21:49 -04:00
..
2017-09-16 21:36:43 -04:00
2018-01-31 14:02:19 -05:00
2018-04-07 13:21:49 -04:00
2017-09-16 21:36:43 -04:00
2017-09-16 21:36:43 -04:00
2018-03-24 22:04:25 -07:00
2017-08-22 13:28:55 +03:00
2018-04-07 13:21:49 -04:00
2018-02-08 10:01:49 +01:00
2018-03-04 06:28:34 -08:00