├── .gitignore ├── LICENSE ├── README.md ├── ascii-table.nix ├── asserts.nix ├── attrsets.nix ├── cli.nix ├── customisation.nix ├── debug.nix ├── default.nix ├── deprecated ├── README.md └── misc.nix ├── derivations.nix ├── fetchers.nix ├── fileset ├── README.md ├── benchmark.sh ├── default.nix ├── internal.nix ├── mock-splitRoot.nix └── tests.sh ├── filesystem.nix ├── fixed-points.nix ├── flake-version-info.nix ├── flake.nix ├── generators.nix ├── gvariant.nix ├── kernel.nix ├── licenses.nix ├── lists.nix ├── meta.nix ├── minfeatures.nix ├── minver.nix ├── modules.nix ├── network ├── default.nix └── internal.nix ├── options.nix ├── package-sets.nix ├── path ├── README.md ├── default.nix └── tests │ ├── default.nix │ ├── generate.awk │ ├── prop.nix │ ├── prop.sh │ └── unit.nix ├── source-types.nix ├── sources.nix ├── strings-with-deps.nix ├── strings.nix ├── tests ├── check-eval.nix ├── fetchers.nix ├── filesystem.sh ├── misc.nix ├── modules.sh ├── modules │ ├── add-check.nix │ ├── adhoc-freeformType-survives-type-merge.nix │ ├── alias-with-priority-can-override.nix │ ├── alias-with-priority.nix │ ├── assert-module-class-is-nixos.nix │ ├── attrsOf-conditional-check.nix │ ├── attrsOf-lazy-check.nix │ ├── boolByOr.nix │ ├── class-check.nix │ ├── composed-types-valueMeta.nix │ ├── declaration-positions.nix │ ├── declare-attrsOf.nix │ ├── declare-attrsOfSub-any-enable.nix │ ├── declare-bare-submodule-deep-option-duplicate.nix │ ├── declare-bare-submodule-deep-option.nix │ ├── declare-bare-submodule-nested-option.nix │ ├── declare-bare-submodule.nix │ ├── declare-coerced-value-no-default.nix │ ├── declare-coerced-value-unsound.nix │ ├── declare-coerced-value.nix │ ├── declare-either.nix │ ├── declare-enable-nested.nix │ ├── declare-enable.nix │ ├── declare-int-between-value.nix │ ├── declare-int-positive-value-nested.nix │ ├── declare-int-positive-value.nix │ ├── declare-int-unsigned-value.nix │ ├── declare-lazyAttrsOf.nix │ ├── declare-oneOf.nix │ ├── declare-set.nix │ ├── declare-submodule-via-evalModules.nix │ ├── declare-submoduleWith-modules.nix │ ├── declare-submoduleWith-noshorthand.nix │ ├── declare-submoduleWith-path.nix │ ├── declare-submoduleWith-shorthand.nix │ ├── declare-submoduleWith-special.nix │ ├── declare-variants.nix │ ├── default-type-merge-both.nix │ ├── default.nix │ ├── deferred-module-error.nix │ ├── deferred-module.nix │ ├── define-_module-args-custom.nix │ ├── define-attrsOfSub-bar-enable.nix │ ├── define-attrsOfSub-bar.nix │ ├── define-attrsOfSub-foo-enable-force.nix │ ├── define-attrsOfSub-foo-enable-if.nix │ ├── define-attrsOfSub-foo-enable.nix │ ├── define-attrsOfSub-foo-force-enable.nix │ ├── define-attrsOfSub-foo-if-enable.nix │ ├── define-attrsOfSub-foo.nix │ ├── define-attrsOfSub-force-foo-enable.nix │ ├── define-attrsOfSub-if-foo-enable.nix │ ├── define-bare-submodule-values.nix │ ├── define-enable-abort.nix │ ├── define-enable-force.nix │ ├── define-enable-throw.nix │ ├── define-enable-with-custom-arg.nix │ ├── define-enable-with-top-level-mkIf.nix │ ├── define-enable.nix │ ├── define-force-attrsOfSub-foo-enable.nix │ ├── define-force-enable.nix │ ├── define-freeform-keywords-shorthand.nix │ ├── define-if-attrsOfSub-foo-enable.nix │ ├── define-module-check.nix │ ├── define-option-dependently-nested.nix │ ├── define-option-dependently.nix │ ├── define-settingsDict-a-is-b.nix │ ├── define-shorthandOnlyDefinesConfig-true.nix │ ├── define-submoduleWith-noshorthand.nix │ ├── define-submoduleWith-shorthand.nix │ ├── define-value-int-negative.nix │ ├── define-value-int-positive.nix │ ├── define-value-int-zero.nix │ ├── define-value-list.nix │ ├── define-value-string-arbitrary.nix │ ├── define-value-string-bigint.nix │ ├── define-value-string-properties.nix │ ├── define-value-string.nix │ ├── define-variant.nix │ ├── deprecated-wrapped.nix │ ├── disable-declare-enable.nix │ ├── disable-define-enable-string-path.nix │ ├── disable-define-enable.nix │ ├── disable-enable-modules.nix │ ├── disable-module-bad-key.nix │ ├── disable-module-with-key.nix │ ├── disable-module-with-toString-key.nix │ ├── disable-recursive │ │ ├── bar.nix │ │ ├── disable-bar.nix │ │ ├── disable-foo.nix │ │ ├── foo.nix │ │ └── main.nix │ ├── doRename-basic.nix │ ├── doRename-condition-enable.nix │ ├── doRename-condition-migrated.nix │ ├── doRename-condition-no-enable.nix │ ├── doRename-condition.nix │ ├── doRename-warnings.nix │ ├── docs.nix │ ├── emptyValues.nix │ ├── error-mkOption-in-config.nix │ ├── error-mkOption-in-submodule-config.nix │ ├── error-nonEmptyListOf-submodule.nix │ ├── expose-module-class.nix │ ├── extendModules-168767-imports.nix │ ├── freeform-attrsOf.nix │ ├── freeform-attrsof-either.nix │ ├── freeform-deprecated-malicous-wrong.nix │ ├── freeform-deprecated-malicous-wrong2.nix │ ├── freeform-deprecated-malicous.nix │ ├── freeform-lazyAttrsOf.nix │ ├── freeform-nested.nix │ ├── freeform-str-dep-unstr.nix │ ├── freeform-submodules.nix │ ├── freeform-unstr-dep-str.nix │ ├── functionTo │ │ ├── list-order.nix │ │ ├── merging-attrs.nix │ │ ├── merging-list.nix │ │ ├── submodule-options.nix │ │ ├── trivial.nix │ │ └── wrong-type.nix │ ├── graph │ │ ├── a.nix │ │ ├── b.nix │ │ └── test.nix │ ├── gvariant.nix │ ├── import-configuration.nix │ ├── import-custom-arg.nix │ ├── import-error-submodule.nix │ ├── import-from-store.nix │ ├── importApply-disabling.nix │ ├── importApply-function.nix │ ├── importApply.nix │ ├── lazy-attrsWith.nix │ ├── merge-module-with-key.nix │ ├── merge-typeless-option.nix │ ├── mkDefinition.nix │ ├── module-argument-default.nix │ ├── module-class-is-darwin.nix │ ├── module-class-is-nixos.nix │ ├── module-imports-_type-check.nix │ ├── name-merge-attrsWith-1.nix │ ├── name-merge-attrsWith-2.nix │ ├── optionTypeFile.nix │ ├── optionTypeMerging.nix │ ├── options-type-error-configuration.nix │ ├── options-type-error-typical-nested.nix │ ├── options-type-error-typical.nix │ ├── pathWith.nix │ ├── polymorphic-module.nix │ ├── prefix-module-argument.nix │ ├── raw.nix │ ├── shorthand-meta.nix │ ├── specialArgs-class.nix │ ├── specialArgs-lib.nix │ ├── strMatching-merge.nix │ ├── submoduleFiles.nix │ ├── test-mergeAttrDefinitionsWithPrio.nix │ ├── types-anything │ │ ├── attrs-coercible.nix │ │ ├── equal-atoms.nix │ │ ├── functions.nix │ │ ├── lists.nix │ │ ├── mk-mods.nix │ │ └── nested-attrs.nix │ ├── types-attrTag-wrong-decl.nix │ ├── types-attrTag.nix │ ├── types-unique.nix │ ├── types-valueMeta.nix │ └── types.nix ├── network.sh ├── packages-from-directory │ ├── a.nix │ ├── b.nix │ ├── c │ │ ├── my-extra-feature.patch │ │ ├── not-a-namespace │ │ │ └── not-a-package.nix │ │ ├── package.nix │ │ └── support-definitions.nix │ ├── my-namespace │ │ ├── d.nix │ │ ├── e.nix │ │ ├── f │ │ │ └── package.nix │ │ └── my-sub-namespace │ │ │ ├── g.nix │ │ │ └── h.nix │ ├── plain │ │ ├── a.nix │ │ ├── b.nix │ │ ├── c │ │ │ ├── my-extra-feature.patch │ │ │ ├── not-a-namespace │ │ │ │ └── not-a-package.nix │ │ │ ├── package.nix │ │ │ └── support-definitions.nix │ │ └── my-namespace │ │ │ ├── d.nix │ │ │ ├── e.nix │ │ │ ├── f │ │ │ └── package.nix │ │ │ └── my-sub-namespace │ │ │ ├── g.nix │ │ │ └── h.nix │ └── scope │ │ ├── a.nix │ │ ├── b.nix │ │ ├── c │ │ ├── my-extra-feature.patch │ │ ├── not-a-namespace │ │ │ └── not-a-package.nix │ │ ├── package.nix │ │ └── support-definitions.nix │ │ └── my-namespace │ │ ├── d.nix │ │ ├── e.nix │ │ ├── f │ │ └── package.nix │ │ └── my-sub-namespace │ │ ├── g.nix │ │ └── h.nix ├── sources.sh ├── test-to-plist-escaped-expected.plist ├── test-to-plist-expected.plist └── test-to-plist-unescaped-expected.plist ├── trivial.nix ├── types.nix └── versions.nix /.gitignore: -------------------------------------------------------------------------------- 1 | result* 2 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/README.md -------------------------------------------------------------------------------- /ascii-table.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/ascii-table.nix -------------------------------------------------------------------------------- /asserts.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/asserts.nix -------------------------------------------------------------------------------- /attrsets.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/attrsets.nix -------------------------------------------------------------------------------- /cli.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/cli.nix -------------------------------------------------------------------------------- /customisation.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/customisation.nix -------------------------------------------------------------------------------- /debug.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/debug.nix -------------------------------------------------------------------------------- /default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/default.nix -------------------------------------------------------------------------------- /deprecated/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/deprecated/README.md -------------------------------------------------------------------------------- /deprecated/misc.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/deprecated/misc.nix -------------------------------------------------------------------------------- /derivations.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/derivations.nix -------------------------------------------------------------------------------- /fetchers.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fetchers.nix -------------------------------------------------------------------------------- /fileset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fileset/README.md -------------------------------------------------------------------------------- /fileset/benchmark.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fileset/benchmark.sh -------------------------------------------------------------------------------- /fileset/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fileset/default.nix -------------------------------------------------------------------------------- /fileset/internal.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fileset/internal.nix -------------------------------------------------------------------------------- /fileset/mock-splitRoot.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fileset/mock-splitRoot.nix -------------------------------------------------------------------------------- /fileset/tests.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fileset/tests.sh -------------------------------------------------------------------------------- /filesystem.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/filesystem.nix -------------------------------------------------------------------------------- /fixed-points.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/fixed-points.nix -------------------------------------------------------------------------------- /flake-version-info.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/flake-version-info.nix -------------------------------------------------------------------------------- /flake.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/flake.nix -------------------------------------------------------------------------------- /generators.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/generators.nix -------------------------------------------------------------------------------- /gvariant.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/gvariant.nix -------------------------------------------------------------------------------- /kernel.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/kernel.nix -------------------------------------------------------------------------------- /licenses.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/licenses.nix -------------------------------------------------------------------------------- /lists.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/lists.nix -------------------------------------------------------------------------------- /meta.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/meta.nix -------------------------------------------------------------------------------- /minfeatures.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/minfeatures.nix -------------------------------------------------------------------------------- /minver.nix: -------------------------------------------------------------------------------- 1 | # Expose the minimum required version for evaluating Nixpkgs 2 | "2.3" 3 | -------------------------------------------------------------------------------- /modules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/modules.nix -------------------------------------------------------------------------------- /network/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/network/default.nix -------------------------------------------------------------------------------- /network/internal.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/network/internal.nix -------------------------------------------------------------------------------- /options.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/options.nix -------------------------------------------------------------------------------- /package-sets.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/package-sets.nix -------------------------------------------------------------------------------- /path/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/README.md -------------------------------------------------------------------------------- /path/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/default.nix -------------------------------------------------------------------------------- /path/tests/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/tests/default.nix -------------------------------------------------------------------------------- /path/tests/generate.awk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/tests/generate.awk -------------------------------------------------------------------------------- /path/tests/prop.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/tests/prop.nix -------------------------------------------------------------------------------- /path/tests/prop.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/tests/prop.sh -------------------------------------------------------------------------------- /path/tests/unit.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/path/tests/unit.nix -------------------------------------------------------------------------------- /source-types.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/source-types.nix -------------------------------------------------------------------------------- /sources.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/sources.nix -------------------------------------------------------------------------------- /strings-with-deps.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/strings-with-deps.nix -------------------------------------------------------------------------------- /strings.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/strings.nix -------------------------------------------------------------------------------- /tests/check-eval.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/check-eval.nix -------------------------------------------------------------------------------- /tests/fetchers.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/fetchers.nix -------------------------------------------------------------------------------- /tests/filesystem.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/filesystem.sh -------------------------------------------------------------------------------- /tests/misc.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/misc.nix -------------------------------------------------------------------------------- /tests/modules.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules.sh -------------------------------------------------------------------------------- /tests/modules/add-check.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/add-check.nix -------------------------------------------------------------------------------- /tests/modules/adhoc-freeformType-survives-type-merge.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/adhoc-freeformType-survives-type-merge.nix -------------------------------------------------------------------------------- /tests/modules/alias-with-priority-can-override.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/alias-with-priority-can-override.nix -------------------------------------------------------------------------------- /tests/modules/alias-with-priority.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/alias-with-priority.nix -------------------------------------------------------------------------------- /tests/modules/assert-module-class-is-nixos.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/assert-module-class-is-nixos.nix -------------------------------------------------------------------------------- /tests/modules/attrsOf-conditional-check.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/attrsOf-conditional-check.nix -------------------------------------------------------------------------------- /tests/modules/attrsOf-lazy-check.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/attrsOf-lazy-check.nix -------------------------------------------------------------------------------- /tests/modules/boolByOr.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/boolByOr.nix -------------------------------------------------------------------------------- /tests/modules/class-check.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/class-check.nix -------------------------------------------------------------------------------- /tests/modules/composed-types-valueMeta.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/composed-types-valueMeta.nix -------------------------------------------------------------------------------- /tests/modules/declaration-positions.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declaration-positions.nix -------------------------------------------------------------------------------- /tests/modules/declare-attrsOf.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-attrsOf.nix -------------------------------------------------------------------------------- /tests/modules/declare-attrsOfSub-any-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-attrsOfSub-any-enable.nix -------------------------------------------------------------------------------- /tests/modules/declare-bare-submodule-deep-option-duplicate.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-bare-submodule-deep-option-duplicate.nix -------------------------------------------------------------------------------- /tests/modules/declare-bare-submodule-deep-option.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-bare-submodule-deep-option.nix -------------------------------------------------------------------------------- /tests/modules/declare-bare-submodule-nested-option.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-bare-submodule-nested-option.nix -------------------------------------------------------------------------------- /tests/modules/declare-bare-submodule.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-bare-submodule.nix -------------------------------------------------------------------------------- /tests/modules/declare-coerced-value-no-default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-coerced-value-no-default.nix -------------------------------------------------------------------------------- /tests/modules/declare-coerced-value-unsound.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-coerced-value-unsound.nix -------------------------------------------------------------------------------- /tests/modules/declare-coerced-value.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-coerced-value.nix -------------------------------------------------------------------------------- /tests/modules/declare-either.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-either.nix -------------------------------------------------------------------------------- /tests/modules/declare-enable-nested.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-enable-nested.nix -------------------------------------------------------------------------------- /tests/modules/declare-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-enable.nix -------------------------------------------------------------------------------- /tests/modules/declare-int-between-value.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-int-between-value.nix -------------------------------------------------------------------------------- /tests/modules/declare-int-positive-value-nested.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-int-positive-value-nested.nix -------------------------------------------------------------------------------- /tests/modules/declare-int-positive-value.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-int-positive-value.nix -------------------------------------------------------------------------------- /tests/modules/declare-int-unsigned-value.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-int-unsigned-value.nix -------------------------------------------------------------------------------- /tests/modules/declare-lazyAttrsOf.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-lazyAttrsOf.nix -------------------------------------------------------------------------------- /tests/modules/declare-oneOf.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-oneOf.nix -------------------------------------------------------------------------------- /tests/modules/declare-set.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-set.nix -------------------------------------------------------------------------------- /tests/modules/declare-submodule-via-evalModules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-submodule-via-evalModules.nix -------------------------------------------------------------------------------- /tests/modules/declare-submoduleWith-modules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-submoduleWith-modules.nix -------------------------------------------------------------------------------- /tests/modules/declare-submoduleWith-noshorthand.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-submoduleWith-noshorthand.nix -------------------------------------------------------------------------------- /tests/modules/declare-submoduleWith-path.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-submoduleWith-path.nix -------------------------------------------------------------------------------- /tests/modules/declare-submoduleWith-shorthand.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-submoduleWith-shorthand.nix -------------------------------------------------------------------------------- /tests/modules/declare-submoduleWith-special.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-submoduleWith-special.nix -------------------------------------------------------------------------------- /tests/modules/declare-variants.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/declare-variants.nix -------------------------------------------------------------------------------- /tests/modules/default-type-merge-both.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/default-type-merge-both.nix -------------------------------------------------------------------------------- /tests/modules/default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/default.nix -------------------------------------------------------------------------------- /tests/modules/deferred-module-error.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/deferred-module-error.nix -------------------------------------------------------------------------------- /tests/modules/deferred-module.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/deferred-module.nix -------------------------------------------------------------------------------- /tests/modules/define-_module-args-custom.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-_module-args-custom.nix -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-bar-enable.nix: -------------------------------------------------------------------------------- 1 | { 2 | attrsOfSub.bar.enable = true; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-bar.nix: -------------------------------------------------------------------------------- 1 | { 2 | attrsOfSub.bar = { }; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-foo-enable-force.nix: -------------------------------------------------------------------------------- 1 | { lib, ... }: 2 | 3 | { 4 | attrsOfSub.foo.enable = lib.mkForce false; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-foo-enable-if.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-attrsOfSub-foo-enable-if.nix -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-foo-enable.nix: -------------------------------------------------------------------------------- 1 | { 2 | attrsOfSub.foo.enable = true; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-foo-force-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-attrsOfSub-foo-force-enable.nix -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-foo-if-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-attrsOfSub-foo-if-enable.nix -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-foo.nix: -------------------------------------------------------------------------------- 1 | { 2 | attrsOfSub.foo = { }; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-force-foo-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-attrsOfSub-force-foo-enable.nix -------------------------------------------------------------------------------- /tests/modules/define-attrsOfSub-if-foo-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-attrsOfSub-if-foo-enable.nix -------------------------------------------------------------------------------- /tests/modules/define-bare-submodule-values.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-bare-submodule-values.nix -------------------------------------------------------------------------------- /tests/modules/define-enable-abort.nix: -------------------------------------------------------------------------------- 1 | { 2 | config.enable = abort "oops"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-enable-force.nix: -------------------------------------------------------------------------------- 1 | { lib, ... }: 2 | 3 | { 4 | enable = lib.mkForce false; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/define-enable-throw.nix: -------------------------------------------------------------------------------- 1 | { 2 | config.enable = throw "oops"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-enable-with-custom-arg.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-enable-with-custom-arg.nix -------------------------------------------------------------------------------- /tests/modules/define-enable-with-top-level-mkIf.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-enable-with-top-level-mkIf.nix -------------------------------------------------------------------------------- /tests/modules/define-enable.nix: -------------------------------------------------------------------------------- 1 | { 2 | enable = true; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-force-attrsOfSub-foo-enable.nix: -------------------------------------------------------------------------------- 1 | { lib, ... }: 2 | 3 | lib.mkForce { 4 | attrsOfSub.foo.enable = false; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/define-force-enable.nix: -------------------------------------------------------------------------------- 1 | { lib, ... }: 2 | 3 | lib.mkForce { 4 | enable = false; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/define-freeform-keywords-shorthand.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-freeform-keywords-shorthand.nix -------------------------------------------------------------------------------- /tests/modules/define-if-attrsOfSub-foo-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-if-attrsOfSub-foo-enable.nix -------------------------------------------------------------------------------- /tests/modules/define-module-check.nix: -------------------------------------------------------------------------------- 1 | { 2 | _module.check = false; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-option-dependently-nested.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-option-dependently-nested.nix -------------------------------------------------------------------------------- /tests/modules/define-option-dependently.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-option-dependently.nix -------------------------------------------------------------------------------- /tests/modules/define-settingsDict-a-is-b.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-settingsDict-a-is-b.nix -------------------------------------------------------------------------------- /tests/modules/define-shorthandOnlyDefinesConfig-true.nix: -------------------------------------------------------------------------------- 1 | { shorthandOnlyDefinesConfig = true; } 2 | -------------------------------------------------------------------------------- /tests/modules/define-submoduleWith-noshorthand.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-submoduleWith-noshorthand.nix -------------------------------------------------------------------------------- /tests/modules/define-submoduleWith-shorthand.nix: -------------------------------------------------------------------------------- 1 | { 2 | submodule.config = true; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-int-negative.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = -23; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-int-positive.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = 42; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-int-zero.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = 0; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-list.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = [ ]; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-string-arbitrary.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = "foobar"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-string-bigint.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = "1000"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-value-string-properties.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-value-string-properties.nix -------------------------------------------------------------------------------- /tests/modules/define-value-string.nix: -------------------------------------------------------------------------------- 1 | { 2 | value = "24"; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/define-variant.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/define-variant.nix -------------------------------------------------------------------------------- /tests/modules/deprecated-wrapped.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/deprecated-wrapped.nix -------------------------------------------------------------------------------- /tests/modules/disable-declare-enable.nix: -------------------------------------------------------------------------------- 1 | { ... }: 2 | 3 | { 4 | disabledModules = [ ./declare-enable.nix ]; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/disable-define-enable-string-path.nix: -------------------------------------------------------------------------------- 1 | { ... }: 2 | 3 | { 4 | disabledModules = [ (toString ./define-enable.nix) ]; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/disable-define-enable.nix: -------------------------------------------------------------------------------- 1 | { ... }: 2 | 3 | { 4 | disabledModules = [ ./define-enable.nix ]; 5 | } 6 | -------------------------------------------------------------------------------- /tests/modules/disable-enable-modules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-enable-modules.nix -------------------------------------------------------------------------------- /tests/modules/disable-module-bad-key.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-module-bad-key.nix -------------------------------------------------------------------------------- /tests/modules/disable-module-with-key.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-module-with-key.nix -------------------------------------------------------------------------------- /tests/modules/disable-module-with-toString-key.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-module-with-toString-key.nix -------------------------------------------------------------------------------- /tests/modules/disable-recursive/bar.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-recursive/bar.nix -------------------------------------------------------------------------------- /tests/modules/disable-recursive/disable-bar.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-recursive/disable-bar.nix -------------------------------------------------------------------------------- /tests/modules/disable-recursive/disable-foo.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-recursive/disable-foo.nix -------------------------------------------------------------------------------- /tests/modules/disable-recursive/foo.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-recursive/foo.nix -------------------------------------------------------------------------------- /tests/modules/disable-recursive/main.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/disable-recursive/main.nix -------------------------------------------------------------------------------- /tests/modules/doRename-basic.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/doRename-basic.nix -------------------------------------------------------------------------------- /tests/modules/doRename-condition-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/doRename-condition-enable.nix -------------------------------------------------------------------------------- /tests/modules/doRename-condition-migrated.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/doRename-condition-migrated.nix -------------------------------------------------------------------------------- /tests/modules/doRename-condition-no-enable.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/doRename-condition-no-enable.nix -------------------------------------------------------------------------------- /tests/modules/doRename-condition.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/doRename-condition.nix -------------------------------------------------------------------------------- /tests/modules/doRename-warnings.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/doRename-warnings.nix -------------------------------------------------------------------------------- /tests/modules/docs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/docs.nix -------------------------------------------------------------------------------- /tests/modules/emptyValues.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/emptyValues.nix -------------------------------------------------------------------------------- /tests/modules/error-mkOption-in-config.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/error-mkOption-in-config.nix -------------------------------------------------------------------------------- /tests/modules/error-mkOption-in-submodule-config.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/error-mkOption-in-submodule-config.nix -------------------------------------------------------------------------------- /tests/modules/error-nonEmptyListOf-submodule.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/error-nonEmptyListOf-submodule.nix -------------------------------------------------------------------------------- /tests/modules/expose-module-class.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/expose-module-class.nix -------------------------------------------------------------------------------- /tests/modules/extendModules-168767-imports.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/extendModules-168767-imports.nix -------------------------------------------------------------------------------- /tests/modules/freeform-attrsOf.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-attrsOf.nix -------------------------------------------------------------------------------- /tests/modules/freeform-attrsof-either.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-attrsof-either.nix -------------------------------------------------------------------------------- /tests/modules/freeform-deprecated-malicous-wrong.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-deprecated-malicous-wrong.nix -------------------------------------------------------------------------------- /tests/modules/freeform-deprecated-malicous-wrong2.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-deprecated-malicous-wrong2.nix -------------------------------------------------------------------------------- /tests/modules/freeform-deprecated-malicous.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-deprecated-malicous.nix -------------------------------------------------------------------------------- /tests/modules/freeform-lazyAttrsOf.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-lazyAttrsOf.nix -------------------------------------------------------------------------------- /tests/modules/freeform-nested.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-nested.nix -------------------------------------------------------------------------------- /tests/modules/freeform-str-dep-unstr.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-str-dep-unstr.nix -------------------------------------------------------------------------------- /tests/modules/freeform-submodules.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-submodules.nix -------------------------------------------------------------------------------- /tests/modules/freeform-unstr-dep-str.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/freeform-unstr-dep-str.nix -------------------------------------------------------------------------------- /tests/modules/functionTo/list-order.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/functionTo/list-order.nix -------------------------------------------------------------------------------- /tests/modules/functionTo/merging-attrs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/functionTo/merging-attrs.nix -------------------------------------------------------------------------------- /tests/modules/functionTo/merging-list.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/functionTo/merging-list.nix -------------------------------------------------------------------------------- /tests/modules/functionTo/submodule-options.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/functionTo/submodule-options.nix -------------------------------------------------------------------------------- /tests/modules/functionTo/trivial.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/functionTo/trivial.nix -------------------------------------------------------------------------------- /tests/modules/functionTo/wrong-type.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/functionTo/wrong-type.nix -------------------------------------------------------------------------------- /tests/modules/graph/a.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/graph/a.nix -------------------------------------------------------------------------------- /tests/modules/graph/b.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/graph/b.nix -------------------------------------------------------------------------------- /tests/modules/graph/test.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/graph/test.nix -------------------------------------------------------------------------------- /tests/modules/gvariant.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/gvariant.nix -------------------------------------------------------------------------------- /tests/modules/import-configuration.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/import-configuration.nix -------------------------------------------------------------------------------- /tests/modules/import-custom-arg.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/import-custom-arg.nix -------------------------------------------------------------------------------- /tests/modules/import-error-submodule.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/import-error-submodule.nix -------------------------------------------------------------------------------- /tests/modules/import-from-store.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/import-from-store.nix -------------------------------------------------------------------------------- /tests/modules/importApply-disabling.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/importApply-disabling.nix -------------------------------------------------------------------------------- /tests/modules/importApply-function.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/importApply-function.nix -------------------------------------------------------------------------------- /tests/modules/importApply.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/importApply.nix -------------------------------------------------------------------------------- /tests/modules/lazy-attrsWith.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/lazy-attrsWith.nix -------------------------------------------------------------------------------- /tests/modules/merge-module-with-key.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/merge-module-with-key.nix -------------------------------------------------------------------------------- /tests/modules/merge-typeless-option.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/merge-typeless-option.nix -------------------------------------------------------------------------------- /tests/modules/mkDefinition.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/mkDefinition.nix -------------------------------------------------------------------------------- /tests/modules/module-argument-default.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/module-argument-default.nix -------------------------------------------------------------------------------- /tests/modules/module-class-is-darwin.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/module-class-is-darwin.nix -------------------------------------------------------------------------------- /tests/modules/module-class-is-nixos.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/module-class-is-nixos.nix -------------------------------------------------------------------------------- /tests/modules/module-imports-_type-check.nix: -------------------------------------------------------------------------------- 1 | { 2 | imports = [{ _type = "flake"; }]; 3 | } 4 | -------------------------------------------------------------------------------- /tests/modules/name-merge-attrsWith-1.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/name-merge-attrsWith-1.nix -------------------------------------------------------------------------------- /tests/modules/name-merge-attrsWith-2.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/name-merge-attrsWith-2.nix -------------------------------------------------------------------------------- /tests/modules/optionTypeFile.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/optionTypeFile.nix -------------------------------------------------------------------------------- /tests/modules/optionTypeMerging.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/optionTypeMerging.nix -------------------------------------------------------------------------------- /tests/modules/options-type-error-configuration.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/options-type-error-configuration.nix -------------------------------------------------------------------------------- /tests/modules/options-type-error-typical-nested.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/options-type-error-typical-nested.nix -------------------------------------------------------------------------------- /tests/modules/options-type-error-typical.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/options-type-error-typical.nix -------------------------------------------------------------------------------- /tests/modules/pathWith.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/pathWith.nix -------------------------------------------------------------------------------- /tests/modules/polymorphic-module.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/polymorphic-module.nix -------------------------------------------------------------------------------- /tests/modules/prefix-module-argument.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/prefix-module-argument.nix -------------------------------------------------------------------------------- /tests/modules/raw.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/raw.nix -------------------------------------------------------------------------------- /tests/modules/shorthand-meta.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/shorthand-meta.nix -------------------------------------------------------------------------------- /tests/modules/specialArgs-class.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/specialArgs-class.nix -------------------------------------------------------------------------------- /tests/modules/specialArgs-lib.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/specialArgs-lib.nix -------------------------------------------------------------------------------- /tests/modules/strMatching-merge.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/strMatching-merge.nix -------------------------------------------------------------------------------- /tests/modules/submoduleFiles.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/submoduleFiles.nix -------------------------------------------------------------------------------- /tests/modules/test-mergeAttrDefinitionsWithPrio.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/test-mergeAttrDefinitionsWithPrio.nix -------------------------------------------------------------------------------- /tests/modules/types-anything/attrs-coercible.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-anything/attrs-coercible.nix -------------------------------------------------------------------------------- /tests/modules/types-anything/equal-atoms.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-anything/equal-atoms.nix -------------------------------------------------------------------------------- /tests/modules/types-anything/functions.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-anything/functions.nix -------------------------------------------------------------------------------- /tests/modules/types-anything/lists.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-anything/lists.nix -------------------------------------------------------------------------------- /tests/modules/types-anything/mk-mods.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-anything/mk-mods.nix -------------------------------------------------------------------------------- /tests/modules/types-anything/nested-attrs.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-anything/nested-attrs.nix -------------------------------------------------------------------------------- /tests/modules/types-attrTag-wrong-decl.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-attrTag-wrong-decl.nix -------------------------------------------------------------------------------- /tests/modules/types-attrTag.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-attrTag.nix -------------------------------------------------------------------------------- /tests/modules/types-unique.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-unique.nix -------------------------------------------------------------------------------- /tests/modules/types-valueMeta.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types-valueMeta.nix -------------------------------------------------------------------------------- /tests/modules/types.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/modules/types.nix -------------------------------------------------------------------------------- /tests/network.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/network.sh -------------------------------------------------------------------------------- /tests/packages-from-directory/a.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "a" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/b.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "b" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/c/my-extra-feature.patch: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/packages-from-directory/c/not-a-namespace/not-a-package.nix: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/c/package.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "c" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/c/support-definitions.nix: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/my-namespace/d.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "d" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/my-namespace/e.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "e" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/my-namespace/f/package.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "f" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/my-namespace/my-sub-namespace/g.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "g" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/my-namespace/my-sub-namespace/h.nix: -------------------------------------------------------------------------------- 1 | {}: 2 | "h" 3 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/a.nix: -------------------------------------------------------------------------------- 1 | {}: "a" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/b.nix: -------------------------------------------------------------------------------- 1 | {}: "b" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/c/my-extra-feature.patch: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/c/not-a-namespace/not-a-package.nix: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/c/package.nix: -------------------------------------------------------------------------------- 1 | {}: "c" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/c/support-definitions.nix: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/my-namespace/d.nix: -------------------------------------------------------------------------------- 1 | {}: "d" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/my-namespace/e.nix: -------------------------------------------------------------------------------- 1 | {}: "e" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/my-namespace/f/package.nix: -------------------------------------------------------------------------------- 1 | {}: "f" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/my-namespace/my-sub-namespace/g.nix: -------------------------------------------------------------------------------- 1 | {}: "g" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/plain/my-namespace/my-sub-namespace/h.nix: -------------------------------------------------------------------------------- 1 | {}: "h" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/a.nix: -------------------------------------------------------------------------------- 1 | {}: "a" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/b.nix: -------------------------------------------------------------------------------- 1 | { a }: 2 | assert a == "a"; 3 | "b" 4 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/c/my-extra-feature.patch: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/c/not-a-namespace/not-a-package.nix: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/c/package.nix: -------------------------------------------------------------------------------- 1 | {}: "c" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/c/support-definitions.nix: -------------------------------------------------------------------------------- 1 | { } 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/my-namespace/d.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/packages-from-directory/scope/my-namespace/d.nix -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/my-namespace/e.nix: -------------------------------------------------------------------------------- 1 | { d }: 2 | # Check that mutual recursion is possible 3 | "e" 4 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/my-namespace/f/package.nix: -------------------------------------------------------------------------------- 1 | {}: "f" 2 | -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/my-namespace/my-sub-namespace/g.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/packages-from-directory/scope/my-namespace/my-sub-namespace/g.nix -------------------------------------------------------------------------------- /tests/packages-from-directory/scope/my-namespace/my-sub-namespace/h.nix: -------------------------------------------------------------------------------- 1 | {}: "h" 2 | -------------------------------------------------------------------------------- /tests/sources.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/sources.sh -------------------------------------------------------------------------------- /tests/test-to-plist-escaped-expected.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/test-to-plist-escaped-expected.plist -------------------------------------------------------------------------------- /tests/test-to-plist-expected.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/test-to-plist-expected.plist -------------------------------------------------------------------------------- /tests/test-to-plist-unescaped-expected.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/tests/test-to-plist-unescaped-expected.plist -------------------------------------------------------------------------------- /trivial.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/trivial.nix -------------------------------------------------------------------------------- /types.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/types.nix -------------------------------------------------------------------------------- /versions.nix: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ekala-project/nix-lib/HEAD/versions.nix --------------------------------------------------------------------------------