tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
nixpkgs
/
lib
/
tests
/
modules
/
at
24.11-pre
3 folders
123 files
disable-recursive
Merge pull request #76857 from Infinisil/recursive-disableModules
6 years ago
functionTo
lib/tests/modules: Test functionTo submodule merging too
3 years ago
types-anything
lib: `modules.sh` should check JSON output for predictability
2 years ago
adhoc-freeformType-survives-type-merge.nix
Merge pull request #156533 from hercules-ci/issue-146882-transparent-submodule-options
3 years ago
alias-with-priority-can-override.nix
Avoid top-level `with ...;` in lib/tests/modules/alias-with-priority-can-override.nix
2 years ago
alias-with-priority.nix
Avoid top-level `with ...;` in lib/tests/modules/alias-with-priority.nix
2 years ago
attrsOf-conditional-check.nix
lib/tests: Add tests for attrsOf and lazyAttrsOf
6 years ago
attrsOf-lazy-check.nix
lib/tests: Add tests for attrsOf and lazyAttrsOf
6 years ago
boolByOr.nix
lib.types.boolByOr: init
2 years ago
class-check.nix
lib.modules: Change class declaration in module to _class
2 years ago
declaration-positions.nix
Merge pull request #249243 from lf-/jade/declarationsWithLocations
2 years ago
declare-attrsOf.nix
lib/tests/modules: Test non-strictness some more
4 years ago
declare-attrsOfSub-any-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
declare-bare-submodule-deep-option-duplicate.nix
lib/tests/modules: Add test case for duplicate option error file location
3 years ago
declare-bare-submodule-deep-option.nix
lib.modules: Let module declare options directly in bare submodule
3 years ago
declare-bare-submodule-nested-option.nix
lib.modules: Make option injection work when shorthandOnlyDefinesConfig
3 years ago
declare-bare-submodule.nix
lib.modules: Make option injection work when shorthandOnlyDefinesConfig
3 years ago
declare-coerced-value-unsound.nix
lib/types: Add coercedTo unsound tests
7 years ago
declare-coerced-value.nix
module tests: add tests for coercedTo
9 years ago
declare-either.nix
lib/types: Add oneOf, extension of either to a list of types
6 years ago
declare-enable-nested.nix
lib/tests: Check for nested option-dependent definitions
5 years ago
declare-enable.nix
Issue #6161 - Add tests for NixOS modules.
11 years ago
declare-int-between-value.nix
lib/types: update docs to match the new type names
8 years ago
declare-int-positive-value-nested.nix
lib/tests: Check for nested option-dependent definitions
5 years ago
declare-int-positive-value.nix
lib/types: add `ints.positive`.
8 years ago
declare-int-unsigned-value.nix
lib/types: update docs to match the new type names
8 years ago
declare-lazyAttrsOf.nix
lib/tests: Add tests for attrsOf and lazyAttrsOf
6 years ago
declare-mkPackageOption.nix
lib/tests: add test for pkgsText parameter and package set selection of mkPackageOption
2 years ago
declare-oneOf.nix
lib/types: Add oneOf, extension of either to a list of types
6 years ago
declare-set.nix
lib.modules: Improve option-is-prefix error message
3 years ago
declare-submodule-via-evalModules.nix
lib.evalModules: Add extendModules and type to result
4 years ago
declare-submoduleWith-modules.nix
lib/tests: Make sure the submodule type description can be evaluated
5 years ago
declare-submoduleWith-noshorthand.nix
lib/tests: Add submoduleWith tests
6 years ago
declare-submoduleWith-path.nix
lib/tests: Add submoduleWith tests
6 years ago
declare-submoduleWith-shorthand.nix
lib/tests: Add submoduleWith tests
6 years ago
declare-submoduleWith-special.nix
lib/tests: Add submoduleWith tests
6 years ago
declare-variants.nix
Merge pull request #144022 from hercules-ci/lib-modules-optimize-unmatchedDefns
4 years ago
default.nix
modules: add support for module replacement with disabledModules
8 years ago
deferred-module-error.nix
lib/modules: Throw earlier when module function does not return attrs
3 years ago
deferred-module.nix
lib.deferredModule: Make it properly singular
3 years ago
define-_module-args-custom.nix
NixOS modules: Add error context on module arguments evaluation.
10 years ago
define-attrsOfSub-bar-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-bar.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-foo-enable-force.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-foo-enable-if.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-foo-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-foo-force-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-foo-if-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-foo.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-force-foo-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-attrsOfSub-if-foo-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-bare-submodule-values.nix
lib.modules: Let module declare options directly in bare submodule
3 years ago
define-enable-abort.nix
lib/modules: Add context to the "option does not exist" error
3 years ago
define-enable-force.nix
Issue #6161 - Add tests for NixOS modules.
11 years ago
define-enable-throw.nix
lib/modules: Add context to the "option does not exist" error
3 years ago
define-enable-with-custom-arg.nix
NixOS modules: Add error context on module arguments evaluation.
10 years ago
define-enable-with-top-level-mkIf.nix
lib/modules: Check against importing things with a _type
2 years ago
define-enable.nix
Issue #6161 - Add tests for NixOS modules.
11 years ago
define-force-attrsOfSub-foo-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-force-enable.nix
Issue #6161 - Add tests for NixOS modules.
11 years ago
define-freeform-keywords-shorthand.nix
lib/modules: Only interpret class declaration in non-shorthand mode
2 years ago
define-if-attrsOfSub-foo-enable.nix
lib/tests: remove strictly loaOf tests and rebase on attrsOf
6 years ago
define-module-check.nix
Add tests for the new module system improvements.
10 years ago
define-option-dependently-nested.nix
lib/tests: Check for nested option-dependent definitions
5 years ago
define-option-dependently.nix
lib/*: editorconfig fixes
5 years ago
define-settingsDict-a-is-b.nix
lib.types.deferredModule: Allow path-typed module references
3 years ago
define-shorthandOnlyDefinesConfig-true.nix
lib.modules: Make option injection work when shorthandOnlyDefinesConfig
3 years ago
define-submoduleWith-noshorthand.nix
lib/tests: Add submoduleWith tests
6 years ago
define-submoduleWith-shorthand.nix
lib/tests: Add submoduleWith tests
6 years ago
define-value-int-negative.nix
lib/types: update docs to match the new type names
8 years ago
define-value-int-positive.nix
lib/types: update docs to match the new type names
8 years ago
define-value-int-zero.nix
lib/types: add `ints.positive`.
8 years ago
define-value-list.nix
module tests: add tests for coercedTo
9 years ago
define-value-string-arbitrary.nix
lib/types: Add coercedTo unsound tests
7 years ago
define-value-string-bigint.nix
lib/types: Add coercedTo unsound tests
7 years ago
define-value-string-properties.nix
lib/tests: Add tests for freeform modules
5 years ago
define-value-string.nix
module tests: add tests for coercedTo
9 years ago
define-variant.nix
Merge pull request #144022 from hercules-ci/lib-modules-optimize-unmatchedDefns
4 years ago
disable-declare-enable.nix
modules: add support for module replacement with disabledModules
8 years ago
disable-define-enable-string-path.nix
lib.modules: support strings with absolute paths in `disabledModules`
3 years ago
disable-define-enable.nix
modules: add support for module replacement with disabledModules
8 years ago
disable-enable-modules.nix
modules: add support for module replacement with disabledModules
8 years ago
disable-module-bad-key.nix
lib/modules: Allow an "anonymous" module with key in disabledModules
2 years ago
disable-module-with-key.nix
lib/modules: Allow an "anonymous" module with key in disabledModules
2 years ago
disable-module-with-toString-key.nix
lib/modules: Allow an "anonymous" module with key in disabledModules
2 years ago
doRename-basic.nix
lib/tests/modules: Test doRename
3 years ago
doRename-condition-enable.nix
Merge pull request #284512 from hercules-ci/lib-types-unique-merge
2 years ago
doRename-condition-migrated.nix
Merge pull request #284512 from hercules-ci/lib-types-unique-merge
2 years ago
doRename-condition-no-enable.nix
Merge pull request #284512 from hercules-ci/lib-types-unique-merge
2 years ago
doRename-condition.nix
Merge pull request #284551 from hercules-ci/types-attrTag
2 years ago
doRename-warnings.nix
lib/tests/modules: Test doRename
3 years ago
docs.nix
lib.types.attrTag: Support module docs
2 years ago
emptyValues.nix
lib/tests: Add tests for emptyValue
4 years ago
error-mkOption-in-config.nix
Merge pull request #272709 from hercules-ci/module-system-test-pr-131205
2 years ago
error-mkOption-in-submodule-config.nix
Merge pull request #272709 from hercules-ci/module-system-test-pr-131205
2 years ago
error-nonEmptyListOf-submodule.nix
feat: add test for nonEmptyListOf submodule
2 years ago
extendModules-168767-imports.nix
Avoid top-level `with ...;` in lib/tests/modules/extendModules-168767-imports.nix
2 years ago
freeform-attrsOf.nix
lib/modules: Add syntactic sugar for config._module.freeformType
5 years ago
freeform-lazyAttrsOf.nix
lib/modules: Add syntactic sugar for config._module.freeformType
5 years ago
freeform-nested.nix
lib/tests/modules: Test non-strictness some more
4 years ago
freeform-str-dep-unstr.nix
lib/tests: Add tests for freeform modules
5 years ago
freeform-submodules.nix
lib.modules: Use types.optionType for _module.freeformType
4 years ago
freeform-unstr-dep-str.nix
lib/tests: Add tests for freeform modules
5 years ago
gvariant.nix
lib.gvariant: make the tests really work
2 years ago
import-configuration.nix
lib/modules: Improve error when a configuration is imported
2 years ago
import-custom-arg.nix
NixOS modules: Add error context on module arguments evaluation.
10 years ago
import-from-store.nix
lib/tests: Fix module tests
6 years ago
merge-module-with-key.nix
lib/modules: Allow an "anonymous" module with key in disabledModules
2 years ago
merge-typeless-option.nix
Merge pull request #243139 from hercules-ci/modules-test-default-argument
2 years ago
module-argument-default.nix
lib/tests/modules: Test that _module.args works when a default argument is set
2 years ago
module-class-is-darwin.nix
lib.modules: Change class declaration in module to _class
2 years ago
module-class-is-nixos.nix
lib.modules: Change class declaration in module to _class
2 years ago
module-imports-_type-check.nix
lib/modules: Check against importing things with a _type
2 years ago
optionTypeFile.nix
lib.types: Introduce `types.optionType`
4 years ago
optionTypeMerging.nix
lib.types: Introduce `types.optionType`
4 years ago
options-type-error-configuration.nix
lib/modules: Report a good error when option tree has bare type
2 years ago
options-type-error-typical-nested.nix
lib/modules: Report a good error when option tree has bare type
2 years ago
options-type-error-typical.nix
lib/modules: Report a good error when option tree has bare type
2 years ago
raw.nix
lib: `modules.sh` should check JSON output for predictability
2 years ago
shorthand-meta.nix
lib/modules: Fix meta duplication in shorthand syntax
3 years ago
submoduleFiles.nix
lib/tests: Add submodule file propagation test
5 years ago
test-mergeAttrDefinitionsWithPrio.nix
lib.modules: Add mergeAttrDefinitionsWithPrio
2 years ago
types-attrTag-wrong-decl.nix
lib.types.attrTag: Custom error when passing bare type
2 years ago
types-attrTag.nix
lib.types.attrTag: Fix declarationPositions after merge
2 years ago
types-unique.nix
lib.types.unique: Check inner type deeply
2 years ago
types.nix
lib/tests: invalidate hashes
2 years ago