summary refs log tree commit diff
path: root/lib/tests/modules.sh
Commit message (Collapse)AuthorAge
* lib/modules: Fix freeform modules when there's no definitionsSilvan Mosberger2020-08-10
|
* lib/tests: Add tests for freeform modulesSilvan Mosberger2020-08-03
|
* lib/tests/modules.sh: Don't depend on $PWDSilvan Mosberger2020-04-13
|
* lib/tests: Check for nested option-dependent definitionsSilvan Mosberger2020-03-19
|
* Revert "lib/modules: Throw better error when definitions assign to an option ↵Silvan Mosberger2020-03-19
| | | | | | | | set" This reverts commit 15c873b486347e7861c64fb0b5a7852be9fc82e4. This was causing infinite recursion when depending on nested options
* Merge pull request #82751 from Infinisil/minor-module-improvementsRobert Hensing2020-03-18
|\ | | | | Minor module improvements
| * lib/modules: Fix type checks not being done before mergingSilvan Mosberger2020-03-18
| | | | | | | | Co-Authored-By: Robert Hensing <robert@roberthensing.nl>
| * lib/modules: Throw better error when definitions assign to an option setSilvan Mosberger2020-03-18
| |
* | lib/modules: Test the ability for config to depend on options for compatibilityRobert Hensing2020-03-17
|/
* Merge pull request #76861 from Infinisil/paths-as-submodulesRobert Hensing2020-01-12
|\ | | | | lib/types: Allow paths as submodule values
| * lib/types: Allow paths as submodule valuesSilvan Mosberger2020-01-08
| |
* | lib/tests: Add tests for attrsOf and lazyAttrsOfSilvan Mosberger2020-01-10
| |
* | lib/tests: Add test case for imports from derivationsSilvan Mosberger2020-01-10
| |
* | Merge pull request #76857 from Infinisil/recursive-disableModulesSilvan Mosberger2020-01-09
|\ \ | |/ |/| Apply `disabledModules` recursively
| * lib/tests: Add tests for recursive disabledModulesSilvan Mosberger2020-01-09
| |
* | lib/tests: remove strictly loaOf tests and rebase on attrsOfrnhmjoj2020-01-06
| |
* | lib/tests: Temporarily disable submodule path testSilvan Mosberger2020-01-03
|/ | | | Until https://github.com/NixOS/nixpkgs/pull/76861 or so is merged
* lib/tests: Add submoduleWith testsSilvan Mosberger2020-01-02
|
* lib/types: Add oneOf, extension of either to a list of typesSilvan Mosberger2019-08-06
|
* lib/modules: Change mkAliasOptionModule to use the priority for the alias.(cdep)illabout2019-01-24
| | | | | | | | | | | | | | | This commit changes the `mkAliasOptionModule` function to make sure that the priority for the aliased option is propagated to the non-aliased option. This also affects the `mkRenamedOptionModule` function in a similar fashion. This also removes the `mkAliasOptionModuleWithPriority` function, since its functionality is now subsumed by `mkAliasOptionModule`. This change was recommended by @nbp: https://github.com/NixOS/nixpkgs/pull/53397#discussion_r245487432
* Add test that shows that the aliases are able to override options.(cdep)illabout2019-01-06
|
* Add a failing test for mkAliasOptionModule.(cdep)illabout2019-01-04
|
* lib.types: fix loaOf behavior for long listsRobert Helgesson2018-05-07
| | | | | | | Assigning a list of 10 or more elements to an option having the type `loaOf a` produces a configuration value that is not honoring the order of the original list. This commit fixes this and a related issue arising when 10 or more lists are merged into this type of option.
* lib/types: clear up coercedTo descriptionSilvan Mosberger2018-05-06
|
* lib/types: Add coercedTo unsound testsSilvan Mosberger2018-05-06
|
* lib/types: add `ints.positive`.Profpatsch2017-11-05
| | | | For values that are positive, but cannot be 0.
* lib/types: add tests for `ints.between` and `ints.unsigned`Profpatsch2017-11-05
| | | | | The int types are trivial invocations of `ints.between`, so they are not tested explicitely.
* modules: add support for module replacement with disabledModulesDaiderd Jordan2017-03-03
| | | | | | | | This is based on a prototype Nicolas B. Pierron worked on during a discussion we had at FOSDEM. A new version with a workaround for problems of the reverted original. Discussion: https://github.com/NixOS/nixpkgs/commit/3f2566689
* Revert "modules: add support for module replacement with disabledModules"Vladimír Čunát2017-03-01
| | | | | This reverts commit 3f2566689d14f1d7778d55ca807d1dad2f4695d1 for now. Evaluation of the tested job got broken, blocking nixos-unstable.
* modules: add support for module replacement with disabledModulesDaiderd Jordan2017-02-28
| | | | | This is based on a prototype Nicolas B. Pierron worked on during a discussion we had at FOSDEM.
* modules lib: type description in type error messageNikolay Amiantov2017-02-03
|
* module tests: add tests for coercedToNikolay Amiantov2017-02-02
|
* NixOS modules: Add error context on module arguments evaluation.Nicolas B. Pierron2015-07-14
|
* Add tests for the new module system improvements.Nicolas B. Pierron2015-03-16
|
* Issue #6161 - Register lib tests as release blockers.Nicolas B. Pierron2015-02-09
|
* Issue #6161 - Add tests for NixOS modules.Nicolas B. Pierron2015-02-09