nixpkgs/lib
Silvan Mosberger ce5e3113c3 lib/tests: Make sure the submodule type description can be evaluated
In 2d45a62899, the submodule type
description was amended with the freeformType description. This causes
all the modules passed to the submodule to be evaluated once on their
own, without any extra definitions from the config section. This means
that the specified modules need to be valid on their own, without any
undeclared options.

This commit adds a test that evaluates a submodules option description,
which would trigger the above problem for one of the tests, if it were
not fixed by this commit as well.

This is done because the next commit makes option evaluation a bit more
strict, which would also trigger this test failure, even though it's not
related to the change at all.
2021-05-03 22:15:33 +02:00
..
systems Merge branch 'master' into staging-next 2021-04-25 02:50:48 +02:00
tests lib/tests: Make sure the submodule type description can be evaluated 2021-05-03 22:15:33 +02:00
asserts.nix
attrsets.nix lib/attrsets: add cartesianProductOfSets function 2021-01-28 23:08:59 +01:00
cli.nix
customisation.nix
debug.nix lib/debug: add traceFnSeqN 2021-01-25 19:25:50 +01:00
default.nix lib.trivial.warnIf: init 2021-04-28 21:44:21 +00:00
deprecated.nix
fetchers.nix
filesystem.nix
fixed-points.nix
generators.nix lib/generators: add toDhall 2021-04-01 14:29:57 +02:00
kernel.nix
licenses.nix lib.licenses: add bsdOriginalUC (BSD 4-Clause University of California-Specific) 2021-04-09 19:42:27 +00:00
lists.nix lib: remove mention of flashplayer in docs 2021-02-08 09:38:41 -08:00
meta.nix
minver.nix
modules.nix treewide: use lib.warnIf where appropriate 2021-04-28 21:44:21 +00:00
options.nix Revert "Module-builtin assertions, disabling assertions and submodule assertions" 2020-12-18 16:44:37 +01:00
sources.nix lib: fix commitIdFromGitRepo (#117752) 2021-03-27 21:16:31 +01:00
strings-with-deps.nix
strings.nix lib: fix documented type of fixedWidthString (#121396) 2021-05-01 17:29:00 +02:00
trivial.nix lib.trivial.warnIf: init 2021-04-28 21:44:21 +00:00
types.nix lib/types: Introduce mkOptionType occurringTypes argument 2021-05-03 22:15:30 +02:00
versions.nix
zip-int-bits.nix