nixpkgs/lib/tests/modules
Silvan Mosberger 4f0dadbf38 treewide: format all inactive Nix files
After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.

Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.

A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.

This commit was automatically created and can be verified using

    nix-build a08b3a4d19.tar.gz \
      --argstr baseRev b32a094368
    result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
..
disable-recursive
functionTo treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
types-anything treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
adhoc-freeformType-survives-type-merge.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
alias-with-priority-can-override.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
alias-with-priority.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
attrsOf-conditional-check.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
attrsOf-lazy-check.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
boolByOr.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
class-check.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declaration-positions.nix lib/tests: Format a file with nixfmt 2024-08-25 05:07:51 +02:00
declare-attrsOf.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-attrsOfSub-any-enable.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-bare-submodule-deep-option-duplicate.nix
declare-bare-submodule-deep-option.nix
declare-bare-submodule-nested-option.nix
declare-bare-submodule.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-coerced-value-no-default.nix lib/types: fix toCoerced's typeMerge 2024-09-10 22:45:27 +01:00
declare-coerced-value-unsound.nix
declare-coerced-value.nix
declare-either.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
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 treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-mkPackageOption.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-oneOf.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-set.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-submodule-via-evalModules.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-submoduleWith-modules.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-submoduleWith-noshorthand.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-submoduleWith-path.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-submoduleWith-shorthand.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-submoduleWith-special.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
declare-variants.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
default-type-merge-both.nix lib.types.defaultTypeMerge: refactor functor.{payload,wrapped} merging 2024-11-19 08:58:38 +01:00
default.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
deferred-module-error.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
deferred-module.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
define-_module-args-custom.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
define-attrsOfSub-bar-enable.nix
define-attrsOfSub-bar.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
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 treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
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 treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
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 treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
define-if-attrsOfSub-foo-enable.nix
define-module-check.nix
define-option-dependently-nested.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
define-option-dependently.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
define-settingsDict-a-is-b.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
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 treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
define-value-string-arbitrary.nix
define-value-string-bigint.nix
define-value-string-properties.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
define-value-string.nix
define-variant.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
disable-declare-enable.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
disable-define-enable-string-path.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
disable-define-enable.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
disable-enable-modules.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
disable-module-bad-key.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
disable-module-with-key.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
disable-module-with-toString-key.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
docs.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
doRename-basic.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
doRename-condition-enable.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
doRename-condition-migrated.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
doRename-condition-no-enable.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
doRename-condition.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
doRename-warnings.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
emptyValues.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
error-mkOption-in-config.nix
error-mkOption-in-submodule-config.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
error-nonEmptyListOf-submodule.nix feat: add test for nonEmptyListOf submodule 2024-01-30 21:32:34 +03:00
extendModules-168767-imports.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
freeform-attrsOf.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
freeform-lazyAttrsOf.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
freeform-nested.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
freeform-str-dep-unstr.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
freeform-submodules.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
freeform-unstr-dep-str.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
gvariant.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
import-configuration.nix
import-custom-arg.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
import-from-store.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
importApply-disabling.nix lib.importApply: init (#230588) 2024-08-31 01:12:43 +02:00
importApply-function.nix lib.importApply: init (#230588) 2024-08-31 01:12:43 +02:00
importApply.nix lib.importApply: init (#230588) 2024-08-31 01:12:43 +02:00
lazy-attrsWith.nix lib/types: Test attrsWith type merging 2024-12-03 10:02:47 +01:00
merge-module-with-key.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
merge-typeless-option.nix treewide: remove unused lib (and other) arguments 2024-07-26 11:18:09 +02:00
module-argument-default.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
module-class-is-darwin.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
module-class-is-nixos.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
module-imports-_type-check.nix
name-merge-attrsWith-1.nix lib.types.attrsWith: add placeholder parameter 2024-12-09 15:25:18 +01:00
name-merge-attrsWith-2.nix lib.types.attrsWith: add placeholder parameter 2024-12-09 15:25:18 +01:00
options-type-error-configuration.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
options-type-error-typical-nested.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
options-type-error-typical.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
optionTypeFile.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
optionTypeMerging.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
raw.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
shorthand-meta.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
specialArgs-lib.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
strMatching-merge.nix lib.types: Add test for merging strMatching 2024-12-09 17:40:32 +01:00
submoduleFiles.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
test-mergeAttrDefinitionsWithPrio.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
types-attrTag-wrong-decl.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
types-attrTag.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
types-unique.nix treewide: format all inactive Nix files 2024-12-10 20:26:33 +01:00
types.nix