nixpkgs/lib/tests
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
..
modules lib/tests: Make sure the submodule type description can be evaluated 2021-05-03 22:15:33 +02:00
check-eval.nix lib/tests: Add check-eval.nix to run simple tests. 2018-03-04 06:28:49 -05:00
maintainers.nix lib/tests: Allow overriding pkgs independent of lib being tested 2020-04-25 23:40:20 +02:00
misc.nix lib/attrsets: add cartesianProductOfSets function 2021-01-28 23:08:59 +01:00
modules.sh lib/tests: Make sure the submodule type description can be evaluated 2021-05-03 22:15:33 +02:00
release.nix Don't set $NIX_DB_DIR 2020-08-24 18:50:20 +02:00
systems.nix lib.systems.doubles.netbsd: expand 2021-04-23 22:23:25 +00:00