nixpkgs/lib
Matthieu Coudron 3bb7b3f02e linux: ability to merge structured configs
This should make the composability of kernel configurations more straigthforward.

- now distinguish freeform options from tristate ones
- will look for a structured config in kernelPatches too
one can now access the structuredConfig from a kernel via linux_test.configfile.structuredConfig
in order to reinject it into another kernel, no need to rewrite the config from scratch

The following merge strategies are used in case of conflict:
-- freeform items must be equal or they conflict (mergeEqualOption)
-- for tristate (y/m/n) entries, I use the mergeAnswer strategy which takes the best available value, "best" being defined by the user (by default "y" > "m" > "n", e.g. if one entry is both marked "y" and "n", "y" wins)
-- if one item is both marked optional/mandatory, mandatory wins (mergeFalseByDefault)
2019-01-28 09:06:33 +09:00
..
systems systems/default.nix: wasm in platform.uname.system 2019-01-27 17:29:23 -05:00
tests Add test that shows that the aliases are able to override options. 2019-01-06 18:10:03 +09:00
asserts.nix lib: move assertMsg and assertOneOf to their own library file 2018-09-06 18:14:27 +02:00
attrsets.nix bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
customisation.nix lib: fix wording of the overrideScope warning 2018-10-11 17:23:47 +02:00
debug.nix lib/debug: Update documentation comments for docs generation 2018-10-29 10:45:25 +01:00
default.nix linux: ability to merge structured configs 2019-01-28 09:06:33 +09:00
deprecated.nix lib: add shortcuts for fake hashes (fakeSha256, fakeSha512) 2019-01-10 19:27:35 +02: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 bundlerEnv: ensure dependencies always included 2018-12-11 21:26:07 +00:00
generators.nix generators: make toPretty handle floats correctly 2018-10-15 14:03:16 +02:00
kernel.nix linux: ability to merge structured configs 2019-01-28 09:06:33 +09:00
licenses.nix licenses: update SPDX IDs (#52711) 2018-12-24 23:29:58 +00:00
lists.nix lib/lists: Update documentation comments for doc generation 2018-10-29 10:42:43 +01:00
meta.nix lib: implement setPrio 2018-11-22 08:59:48 +00:00
minver.nix Nix minimal version: 1.11 -> 2.0 2018-08-30 08:09:54 -04:00
modules.nix Pull out defaultPriority to a top-level definition. 2019-01-06 17:48:37 +09:00
options.nix lib/options: Update documentation comments for docs generation 2018-10-29 10:45:28 +01:00
sources.nix lib: commitIdFromGitRepo: simplify a tiny bit 2018-11-08 05:20:18 +00:00
strings-with-deps.nix Convert libs to a fixed-point 2017-09-16 21:36:43 -04:00
strings.nix lib.makePerlPath -> perlPackages.makePerlPath 2018-12-15 03:50:31 +00:00
trivial.nix group the release info 2018-11-15 21:56:17 +01:00
types.nix Add type port as an alias to u16 2018-10-18 23:39:13 +02:00
versions.nix lib: add versions library 2018-03-04 06:28:34 -08:00
zip-int-bits.nix lib/trivial: move zipIntBits to its own file 2018-07-26 20:36:45 +02:00