Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | lib/modules: Fix freeform modules when there's no definitions | Silvan Mosberger | 2020-08-10 |
| | |||
* | lib/tests: Add tests for freeform modules | Silvan Mosberger | 2020-08-03 |
| | |||
* | lib/tests/modules.sh: Don't depend on $PWD | Silvan Mosberger | 2020-04-13 |
| | |||
* | lib/tests: Check for nested option-dependent definitions | Silvan Mosberger | 2020-03-19 |
| | |||
* | Revert "lib/modules: Throw better error when definitions assign to an option ↵ | Silvan Mosberger | 2020-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-improvements | Robert Hensing | 2020-03-18 |
|\ | | | | | Minor module improvements | ||
| * | lib/modules: Fix type checks not being done before merging | Silvan Mosberger | 2020-03-18 |
| | | | | | | | | Co-Authored-By: Robert Hensing <robert@roberthensing.nl> | ||
| * | lib/modules: Throw better error when definitions assign to an option set | Silvan Mosberger | 2020-03-18 |
| | | |||
* | | lib/modules: Test the ability for config to depend on options for compatibility | Robert Hensing | 2020-03-17 |
|/ | |||
* | Merge pull request #76861 from Infinisil/paths-as-submodules | Robert Hensing | 2020-01-12 |
|\ | | | | | lib/types: Allow paths as submodule values | ||
| * | lib/types: Allow paths as submodule values | Silvan Mosberger | 2020-01-08 |
| | | |||
* | | lib/tests: Add tests for attrsOf and lazyAttrsOf | Silvan Mosberger | 2020-01-10 |
| | | |||
* | | lib/tests: Add test case for imports from derivations | Silvan Mosberger | 2020-01-10 |
| | | |||
* | | Merge pull request #76857 from Infinisil/recursive-disableModules | Silvan Mosberger | 2020-01-09 |
|\ \ | |/ |/| | Apply `disabledModules` recursively | ||
| * | lib/tests: Add tests for recursive disabledModules | Silvan Mosberger | 2020-01-09 |
| | | |||
* | | lib/tests: remove strictly loaOf tests and rebase on attrsOf | rnhmjoj | 2020-01-06 |
| | | |||
* | | lib/tests: Temporarily disable submodule path test | Silvan Mosberger | 2020-01-03 |
|/ | | | | Until https://github.com/NixOS/nixpkgs/pull/76861 or so is merged | ||
* | lib/tests: Add submoduleWith tests | Silvan Mosberger | 2020-01-02 |
| | |||
* | lib/types: Add oneOf, extension of either to a list of types | Silvan Mosberger | 2019-08-06 |
| | |||
* | lib/modules: Change mkAliasOptionModule to use the priority for the alias. | (cdep)illabout | 2019-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)illabout | 2019-01-06 |
| | |||
* | Add a failing test for mkAliasOptionModule. | (cdep)illabout | 2019-01-04 |
| | |||
* | lib.types: fix loaOf behavior for long lists | Robert Helgesson | 2018-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 description | Silvan Mosberger | 2018-05-06 |
| | |||
* | lib/types: Add coercedTo unsound tests | Silvan Mosberger | 2018-05-06 |
| | |||
* | lib/types: add `ints.positive`. | Profpatsch | 2017-11-05 |
| | | | | For values that are positive, but cannot be 0. | ||
* | lib/types: add tests for `ints.between` and `ints.unsigned` | Profpatsch | 2017-11-05 |
| | | | | | The int types are trivial invocations of `ints.between`, so they are not tested explicitely. | ||
* | modules: add support for module replacement with disabledModules | Daiderd Jordan | 2017-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át | 2017-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 disabledModules | Daiderd Jordan | 2017-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 message | Nikolay Amiantov | 2017-02-03 |
| | |||
* | module tests: add tests for coercedTo | Nikolay Amiantov | 2017-02-02 |
| | |||
* | NixOS modules: Add error context on module arguments evaluation. | Nicolas B. Pierron | 2015-07-14 |
| | |||
* | Add tests for the new module system improvements. | Nicolas B. Pierron | 2015-03-16 |
| | |||
* | Issue #6161 - Register lib tests as release blockers. | Nicolas B. Pierron | 2015-02-09 |
| | |||
* | Issue #6161 - Add tests for NixOS modules. | Nicolas B. Pierron | 2015-02-09 |