diff options
author | Sigmanificient | 2024-07-17 05:26:36 +0200 |
---|---|---|
committer | Sigmanificient | 2024-07-26 11:18:09 +0200 |
commit | 6dd44107ac5a1a40cd5b02c809294f83ce6dbd20 (patch) | |
tree | 332cd8949d362932fce3d1b3a49e15885b7e2f26 /lib | |
parent | da8fd5be9f9ae454e56fe8ef69931cff19f30920 (diff) |
treewide: remove unused lib (and other) arguments
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tests/modules/define-_module-args-custom.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/define-enable-with-custom-arg.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/disable-declare-enable.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/disable-define-enable-string-path.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/disable-define-enable.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/disable-enable-modules.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/doRename-condition-enable.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/doRename-condition-migrated.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/doRename-condition-no-enable.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/import-from-store.nix | 2 | ||||
-rw-r--r-- | lib/tests/modules/merge-typeless-option.nix | 2 |
11 files changed, 11 insertions, 11 deletions
diff --git a/lib/tests/modules/define-_module-args-custom.nix b/lib/tests/modules/define-_module-args-custom.nix index e565fd215a57..8e53e84c042b 100644 --- a/lib/tests/modules/define-_module-args-custom.nix +++ b/lib/tests/modules/define-_module-args-custom.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: { config = { diff --git a/lib/tests/modules/define-enable-with-custom-arg.nix b/lib/tests/modules/define-enable-with-custom-arg.nix index 7da74671d148..9794bf8edf9e 100644 --- a/lib/tests/modules/define-enable-with-custom-arg.nix +++ b/lib/tests/modules/define-enable-with-custom-arg.nix @@ -1,4 +1,4 @@ -{ lib, custom, ... }: +{ custom, ... }: { config = { diff --git a/lib/tests/modules/disable-declare-enable.nix b/lib/tests/modules/disable-declare-enable.nix index a373ee7e550e..19d2e13c786a 100644 --- a/lib/tests/modules/disable-declare-enable.nix +++ b/lib/tests/modules/disable-declare-enable.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: { disabledModules = [ ./declare-enable.nix ]; diff --git a/lib/tests/modules/disable-define-enable-string-path.nix b/lib/tests/modules/disable-define-enable-string-path.nix index 6429a6d6354a..5354a72bba41 100644 --- a/lib/tests/modules/disable-define-enable-string-path.nix +++ b/lib/tests/modules/disable-define-enable-string-path.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: { disabledModules = [ (toString ./define-enable.nix) ]; diff --git a/lib/tests/modules/disable-define-enable.nix b/lib/tests/modules/disable-define-enable.nix index 0d84a7c3cb6c..67fefa733586 100644 --- a/lib/tests/modules/disable-define-enable.nix +++ b/lib/tests/modules/disable-define-enable.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: { disabledModules = [ ./define-enable.nix ]; diff --git a/lib/tests/modules/disable-enable-modules.nix b/lib/tests/modules/disable-enable-modules.nix index c325f4e07431..af4d7e60b984 100644 --- a/lib/tests/modules/disable-enable-modules.nix +++ b/lib/tests/modules/disable-enable-modules.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: { disabledModules = [ "define-enable.nix" "declare-enable.nix" ]; diff --git a/lib/tests/modules/doRename-condition-enable.nix b/lib/tests/modules/doRename-condition-enable.nix index e6eabfa6f89a..9e0db126b575 100644 --- a/lib/tests/modules/doRename-condition-enable.nix +++ b/lib/tests/modules/doRename-condition-enable.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, ... }: { config = { services.foo.enable = true; diff --git a/lib/tests/modules/doRename-condition-migrated.nix b/lib/tests/modules/doRename-condition-migrated.nix index 8d21610e8ec6..fd20ee87f23a 100644 --- a/lib/tests/modules/doRename-condition-migrated.nix +++ b/lib/tests/modules/doRename-condition-migrated.nix @@ -1,4 +1,4 @@ -{ config, lib, ... }: +{ config, ... }: { config = { services.foos."".bar = "baz"; diff --git a/lib/tests/modules/doRename-condition-no-enable.nix b/lib/tests/modules/doRename-condition-no-enable.nix index 66ec004d3147..9b0427cff047 100644 --- a/lib/tests/modules/doRename-condition-no-enable.nix +++ b/lib/tests/modules/doRename-condition-no-enable.nix @@ -1,4 +1,4 @@ -{ config, lib, options, ... }: +{ config, options, ... }: { config = { result = diff --git a/lib/tests/modules/import-from-store.nix b/lib/tests/modules/import-from-store.nix index f5af22432ce1..c45ccbed76b6 100644 --- a/lib/tests/modules/import-from-store.nix +++ b/lib/tests/modules/import-from-store.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: { imports = [ diff --git a/lib/tests/modules/merge-typeless-option.nix b/lib/tests/modules/merge-typeless-option.nix index 627d90b15db2..fcd72634c166 100644 --- a/lib/tests/modules/merge-typeless-option.nix +++ b/lib/tests/modules/merge-typeless-option.nix @@ -1,4 +1,4 @@ -{ lib, ... }: +{ ... }: let typeless = |