nixpkgs/lib
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
..
systems libseccomp: Disable only on RISC-V if Linux. 2018-03-27 08:16:24 -04:00
tests lib/generators: introduce a sane default for mkValueString 2018-03-29 16:53:06 +02:00
attrsets.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
composable-derivation.nix
customisation.nix lib.addPassthru: removed as scheduled 2018-03-03 17:57:38 +01:00
debug.nix Add setFunctionArgs lib function. 2018-01-31 14:02:19 -05:00
default.nix lib: make extensible 2018-04-07 13:21:49 -04:00
deprecated.nix Add setFunctionArgs lib function. 2018-01-31 14:02:19 -05:00
fetchers.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
filesystem.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
fixed-points.nix Revert "Merge branch 'improved-make-overridable' of git://github.com/ElvishJerricco/nixpkgs" 2017-09-29 09:11:26 -04:00
generators.nix lib/generators: introduce a sane default for mkValueString 2018-03-29 16:53:06 +02:00
licenses.nix treewide: use more HTTPS URLs 2018-03-24 22:04:25 -07:00
lists.nix Merge pull request #33898 from oxij/nixos/related-packages-v5 2018-02-09 20:36:27 -05:00
meta.nix kexectools: Disable only on RISC-V if Linux. 2018-03-27 08:15:07 -04:00
minver.nix Nix minimal version: 1.10 -> 1.11 2017-08-22 13:28:55 +03:00
modules.nix lib: make extensible 2018-04-07 13:21:49 -04:00
options.nix lib: export option location in optionAttrSetToDocList 2018-02-11 22:04:09 +00:00
sources.nix callCabal2nix: Fix calling with a path in the store. 2018-01-11 10:17:56 -05:00
strings-with-deps.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
strings.nix lib.isStorePath: Fix derivation detection 2018-03-09 17:21:31 -05:00
trivial.nix lib: implement compare, splitByAndCompare, and compareLists 2018-02-09 19:51:05 +00:00
types.nix lib/types: add types.nonEmptyListOf 2018-02-08 10:01:49 +01:00
versions.nix lib: add versions library 2018-03-04 06:28:34 -08:00