From 7a1e952c54129c383d122810087471a682f7963a Mon Sep 17 00:00:00 2001 From: danjujan <44864658+danjujan@users.noreply.github.com> Date: Fri, 25 Oct 2024 15:14:43 +0200 Subject: [PATCH] lib: fix typos --- lib/build-clan/default.nix | 2 +- lib/build-clan/interface.nix | 2 +- lib/inventory/build-inventory/interface.nix | 2 +- lib/jsonschema/default.nix | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/build-clan/default.nix b/lib/build-clan/default.nix index ed7057e57..86f5b4da1 100644 --- a/lib/build-clan/default.nix +++ b/lib/build-clan/default.nix @@ -13,7 +13,7 @@ # This improves performance, but all nipxkgs.* options will be ignored. # deadnix: skip inventory ? { }, - ## Sepcial inputs (not passed to the module system as config) + ## Special inputs (not passed to the module system as config) specialArgs ? { }, # Extra arguments to pass to nixosSystem i.e. useful to make self available # A set containing clan meta: name :: string, icon :: string, description :: string ## ... diff --git a/lib/build-clan/interface.nix b/lib/build-clan/interface.nix index 60c2ceb31..8dd3abf74 100644 --- a/lib/build-clan/interface.nix +++ b/lib/build-clan/interface.nix @@ -99,7 +99,7 @@ in type = types.submodule { options = { # Those options are interfaced by the CLI - # We don't speficy the type here, for better performance. + # We don't specify the type here, for better performance. inventory = lib.mkOption { type = lib.types.raw; }; inventoryFile = lib.mkOption { type = lib.types.raw; }; clanModules = lib.mkOption { type = lib.types.raw; }; diff --git a/lib/inventory/build-inventory/interface.nix b/lib/inventory/build-inventory/interface.nix index a0b72e3e0..55fb875df 100644 --- a/lib/inventory/build-inventory/interface.nix +++ b/lib/inventory/build-inventory/interface.nix @@ -45,7 +45,7 @@ let extraModulesOption = lib.mkOption { description = '' - List of addtionally imported `.nix` expressions. + List of additionally imported `.nix` expressions. Supported types: diff --git a/lib/jsonschema/default.nix b/lib/jsonschema/default.nix index 8d478e018..366e8238b 100644 --- a/lib/jsonschema/default.nix +++ b/lib/jsonschema/default.nix @@ -302,7 +302,7 @@ rec { additionalProperties = true; } # parse attrsOf - # TODO: if nested option is excluded, the parent sould be excluded too + # TODO: if nested option is excluded, the parent should be excluded too else if option.type.name == "attrsOf" || option.type.name == "lazyAttrsOf" # return jsonschema property definition for attrs