From c77ac9dfc3e022dfeb2788dbf533d0d6b853f8c7 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Mon, 2 Jun 2025 15:54:57 +0200 Subject: [PATCH] treewide: fix typos --- lib/attrsets.nix | 2 +- lib/fixed-points.nix | 2 +- lib/options.nix | 4 ++-- lib/types.nix | 2 +- nixos/lib/make-options-doc/default.nix | 4 ++-- nixos/lib/testing/network.nix | 2 +- nixos/maintainers/option-usages.nix | 2 +- nixos/modules/misc/ids.nix | 6 +++--- nixos/modules/profiles/image-based-appliance.nix | 2 +- nixos/modules/programs/turbovnc.nix | 2 +- nixos/modules/services/cluster/k3s/default.nix | 2 +- nixos/modules/services/desktops/bonsaid.nix | 2 +- nixos/modules/services/games/crossfire-server.nix | 2 +- nixos/modules/services/hardware/kmonad.nix | 2 +- nixos/modules/services/misc/ntfy-sh.nix | 2 +- nixos/modules/services/monitoring/below.nix | 2 +- nixos/modules/services/networking/cato-client.nix | 2 +- nixos/modules/services/networking/fedimintd.nix | 2 +- nixos/modules/services/networking/netbird.nix | 2 +- .../services/networking/netbird/dashboard.nix | 2 +- nixos/modules/services/networking/ssh/sshd.nix | 2 +- .../modules/services/networking/yggdrasil-jumper.nix | 2 +- nixos/modules/services/security/tor.nix | 2 +- nixos/modules/services/web-apps/davis.nix | 2 +- nixos/modules/services/web-apps/plausible.nix | 2 +- nixos/modules/services/web-apps/windmill.nix | 2 +- nixos/modules/virtualisation/azure-common.nix | 2 +- nixos/modules/virtualisation/azure-image.nix | 2 +- nixos/modules/virtualisation/waagent.nix | 2 +- nixos/tests/appliance-repart-image.nix | 4 ++-- nixos/tests/common/acme/server/default.nix | 2 +- nixos/tests/ntfy-sh-migration.nix | 2 +- nixos/tests/sftpgo.nix | 4 ++-- nixos/tests/systemd-sysupdate.nix | 2 +- nixos/tests/systemd-timesyncd-nscd-dnssec.nix | 2 +- .../editors/emacs/elisp-packages/melpa-packages.nix | 8 ++++---- .../editors/vscode/extensions/default.nix | 2 +- .../vscode/extensions/ms-vscode.cpptools/default.nix | 2 +- pkgs/applications/graphics/yacreader/default.nix | 2 +- pkgs/build-support/rust/build-rust-crate/default.nix | 2 +- .../rust/build-rust-crate/test/rcgen-crates.nix | 6 +++--- pkgs/by-name/ad/adios2/package.nix | 2 +- pkgs/by-name/hy/hyperhdr/package.nix | 2 +- pkgs/by-name/il/ilmbase/package.nix | 2 +- pkgs/by-name/im/imlib2/package.nix | 2 +- pkgs/by-name/li/libcredis/package.nix | 2 +- pkgs/by-name/mi/miktex/package.nix | 2 +- pkgs/by-name/mx/mxnet/package.nix | 2 +- pkgs/by-name/ty/typical/package.nix | 2 +- pkgs/by-name/us/usb-reset/package.nix | 2 +- pkgs/by-name/yt/ytmdesktop/package.nix | 2 +- pkgs/by-name/ze/zepp-simulator/package.nix | 2 +- .../compilers/gcc/common/configure-flags.nix | 2 +- .../haskell-modules/configuration-common.nix | 8 ++++---- pkgs/development/interpreters/ruby/default.nix | 2 +- pkgs/development/libraries/ffmpeg/generic.nix | 2 +- pkgs/development/libraries/openssl/default.nix | 2 +- pkgs/development/libraries/vigra/default.nix | 2 +- .../python-modules/brotlicffi/default.nix | 2 +- pkgs/development/python-modules/datadog/default.nix | 2 +- pkgs/development/python-modules/dm-haiku/default.nix | 2 +- .../python-modules/flashinfer/default.nix | 2 +- pkgs/development/python-modules/fmpy/default.nix | 2 +- pkgs/development/python-modules/itables/default.nix | 2 +- .../python-modules/langchain-aws/default.nix | 2 +- .../langchain-azure-dynamic-sessions/default.nix | 2 +- .../python-modules/langchain-chroma/default.nix | 2 +- .../python-modules/langchain-community/default.nix | 2 +- .../python-modules/langchain-groq/default.nix | 2 +- .../python-modules/langchain-huggingface/default.nix | 2 +- .../python-modules/langchain-mongodb/default.nix | 2 +- .../python-modules/langchain-ollama/default.nix | 2 +- .../python-modules/langchain-openai/default.nix | 2 +- .../python-modules/langchain-tests/default.nix | 2 +- .../langchain-text-splitters/default.nix | 2 +- .../development/python-modules/langchain/default.nix | 2 +- .../python-modules/mpi-pytest/default.nix | 2 +- .../piano-transcription-inference/default.nix | 2 +- pkgs/development/python-modules/pip/default.nix | 2 +- pkgs/development/python-modules/twisted/default.nix | 2 +- pkgs/development/python-modules/yamllint/default.nix | 2 +- .../tools/build-managers/bazel/bazel_6/default.nix | 2 +- .../tools/build-managers/bazel/bazel_7/default.nix | 6 +++--- pkgs/servers/home-assistant/default.nix | 4 ++-- pkgs/stdenv/generic/check-meta.nix | 2 +- pkgs/test/texlive/default.nix | 2 +- pkgs/top-level/all-packages.nix | 12 ++++++------ pkgs/top-level/stage.nix | 2 +- 88 files changed, 110 insertions(+), 110 deletions(-) diff --git a/lib/attrsets.nix b/lib/attrsets.nix index fc6bf84415b8..84ae52454968 100644 --- a/lib/attrsets.nix +++ b/lib/attrsets.nix @@ -1747,7 +1747,7 @@ rec { /** Get the first of the `outputs` provided by the package, or the default. - This function is alligned with `_overrideFirst()` from the `multiple-outputs.sh` setup hook. + This function is aligned with `_overrideFirst()` from the `multiple-outputs.sh` setup hook. Like `getOutput`, the function is idempotent. # Inputs diff --git a/lib/fixed-points.nix b/lib/fixed-points.nix index 1de5351d95aa..e73cc7ec3dac 100644 --- a/lib/fixed-points.nix +++ b/lib/fixed-points.nix @@ -389,7 +389,7 @@ rec { extensions = composeManyExtensions [ overlayA overlayB ]; - # Caluculate the fixed point of all composed overlays. + # Calculate the fixed point of all composed overlays. fixedpoint = lib.fix (lib.extends extensions original ); in fixedpoint diff --git a/lib/options.nix b/lib/options.nix index 007a14f15b67..198f3eef47df 100644 --- a/lib/options.nix +++ b/lib/options.nix @@ -404,7 +404,7 @@ rec { ```nix myType = mkOptionType { name = "myType"; - merge = mergeDefaultOption; # <- This line is redundant. It is the default aready. + merge = mergeDefaultOption; # <- This line is redundant. It is the default already. }; ``` @@ -470,7 +470,7 @@ rec { args@{ message, # WARNING: the default merge function assumes that the definition is a valid (option) value. You MUST pass a merge function if the return value needs to be - # - type checked beyond what .check does (which should be very litte; only on the value head; not attribute values, etc) + # - type checked beyond what .check does (which should be very little; only on the value head; not attribute values, etc) # - if you want attribute values to be checked, or list items # - if you want coercedTo-like behavior to work merge ? loc: defs: (head defs).value, diff --git a/lib/types.nix b/lib/types.nix index 715da842ac01..d2f91cdf6f04 100644 --- a/lib/types.nix +++ b/lib/types.nix @@ -75,7 +75,7 @@ let if pos == null then "" else " at ${pos.file}:${toString pos.line}:${toString pos.column}"; # Internal functor to help for migrating functor.wrapped to functor.payload.elemType - # Note that individual attributes can be overriden if needed. + # Note that individual attributes can be overridden if needed. elemTypeFunctor = name: { elemType, ... }@payload: diff --git a/nixos/lib/make-options-doc/default.nix b/nixos/lib/make-options-doc/default.nix index ea24c4004e55..f49745cf59d4 100644 --- a/nixos/lib/make-options-doc/default.nix +++ b/nixos/lib/make-options-doc/default.nix @@ -45,7 +45,7 @@ Documentation rendered as AsciiDoc. This is useful for e.g. man pages. - > Note: NixOS itself uses this ouput to to build the configuration.nix man page" + > Note: NixOS itself uses this output to to build the configuration.nix man page" ## optionsNix @@ -59,7 +59,7 @@ let # Evaluate a NixOS configuration eval = import (pkgs.path + "/nixos/lib/eval-config.nix") { - # Overriden explicitly here, this would include all modules from NixOS otherwise. + # Overridden explicitly here, this would include all modules from NixOS otherwise. # See: docs of eval-config.nix for more details baseModules = []; modules = [ diff --git a/nixos/lib/testing/network.nix b/nixos/lib/testing/network.nix index c393056009d8..5caea2710754 100644 --- a/nixos/lib/testing/network.nix +++ b/nixos/lib/testing/network.nix @@ -130,7 +130,7 @@ let virtualisation.test.nodeName = mkOption { internal = true; default = name; - # We need to force this in specilisations, otherwise it'd be + # We need to force this in specialisations, otherwise it'd be # readOnly = true; description = '' The `name` in `nodes.`; stable across `specialisations`. diff --git a/nixos/maintainers/option-usages.nix b/nixos/maintainers/option-usages.nix index f53e5272e423..f876fd3523e7 100644 --- a/nixos/maintainers/option-usages.nix +++ b/nixos/maintainers/option-usages.nix @@ -60,7 +60,7 @@ let inherit (eval) pkgs; excludedTestOptions = [ - # We cannot evluate _module.args, as it is used during the computation + # We cannot evaluate _module.args, as it is used during the computation # of the modules list. "_module.args" diff --git a/nixos/modules/misc/ids.nix b/nixos/modules/misc/ids.nix index ebd53cb17ea5..64f0d4247ddc 100644 --- a/nixos/modules/misc/ids.nix +++ b/nixos/modules/misc/ids.nix @@ -273,7 +273,7 @@ in caddy = 239; taskd = 240; # factorio = 241; # DynamicUser = true - # emby = 242; # unusued, removed 2019-05-01 + # emby = 242; # unused, removed 2019-05-01 #graylog = 243;# dynamically allocated as of 2021-09-03 sniproxy = 244; nzbget = 245; @@ -371,7 +371,7 @@ in # system user or group of the same id in someone else's NixOS. # This could break their system and make that person upset for a whole day. # - # Sidenote: the default is defined in `shadow` module[2], and the relavent change + # Sidenote: the default is defined in `shadow` module[2], and the relevant change # was made way back in 2014[3]. # # [1]: https://man7.org/linux/man-pages/man5/login.defs.5.html#:~:text=SYS_UID_MAX%20(number)%2C%20SYS_UID_MIN%20(number) @@ -700,7 +700,7 @@ in # system user or group of the same id in someone else's NixOS. # This could break their system and make that person upset for a whole day. # - # Sidenote: the default is defined in `shadow` module[2], and the relavent change + # Sidenote: the default is defined in `shadow` module[2], and the relevant change # was made way back in 2014[3]. # # [1]: https://man7.org/linux/man-pages/man5/login.defs.5.html#:~:text=SYS_UID_MAX%20(number)%2C%20SYS_UID_MIN%20(number) diff --git a/nixos/modules/profiles/image-based-appliance.nix b/nixos/modules/profiles/image-based-appliance.nix index 7e8b6f696d54..67e173dd9366 100644 --- a/nixos/modules/profiles/image-based-appliance.nix +++ b/nixos/modules/profiles/image-based-appliance.nix @@ -1,4 +1,4 @@ -# This profile sets up a sytem for image based appliance usage. An appliance is +# This profile sets up a system for image based appliance usage. An appliance is # installed as an image, cannot be re-built, has no Nix available, and is # generally not meant for interactive use. Updates to such an appliance are # handled by updating whole partition images via a tool like systemd-sysupdate. diff --git a/nixos/modules/programs/turbovnc.nix b/nixos/modules/programs/turbovnc.nix index 51550476cc35..395b068524cc 100644 --- a/nixos/modules/programs/turbovnc.nix +++ b/nixos/modules/programs/turbovnc.nix @@ -45,7 +45,7 @@ in # software rendering to implement GLX (OpenGL on Xorg). # However, just building TurboVNC with support for that is not enough # (it only takes care of the X server side part of OpenGL); - # the indiviudual applications (e.g. `glxgears`) also need to directly load + # the individual applications (e.g. `glxgears`) also need to directly load # the OpenGL libs. # Thus, this creates `/run/opengl-driver` populated by Mesa so that the applications # can find the llvmpipe `swrast.so` software rendering DRI lib via `libglvnd`. diff --git a/nixos/modules/services/cluster/k3s/default.nix b/nixos/modules/services/cluster/k3s/default.nix index 22e3534ea591..6f0aba9c12f6 100644 --- a/nixos/modules/services/cluster/k3s/default.nix +++ b/nixos/modules/services/cluster/k3s/default.nix @@ -139,7 +139,7 @@ let [ (yamlFormat.generate "helm-chart-manifest-${name}.yaml" (mkHelmChartCR name value)) ] - # alternate the YAML doc seperator (---) and extraDeploy manifests to create + # alternate the YAML doc separator (---) and extraDeploy manifests to create # multi document YAMLs ++ (lib.concatMap (x: [ yamlDocSeparator diff --git a/nixos/modules/services/desktops/bonsaid.nix b/nixos/modules/services/desktops/bonsaid.nix index c73c5870075d..2d99853ddb3e 100644 --- a/nixos/modules/services/desktops/bonsaid.nix +++ b/nixos/modules/services/desktops/bonsaid.nix @@ -143,7 +143,7 @@ in lib.mkDefault (json.generate "bonsai_tree.json" (filterNulls cfg.settings)); # bonsaid is controlled by bonsaictl, so place the latter in the environment by default. - # bonsaictl is typically invoked by scripts or a DE so this isn't strictly necesssary, + # bonsaictl is typically invoked by scripts or a DE so this isn't strictly necessary, # but it's helpful while administering the service generally. environment.systemPackages = [ cfg.package ]; diff --git a/nixos/modules/services/games/crossfire-server.nix b/nixos/modules/services/games/crossfire-server.nix index 11d572ea3db1..a858c1ee5c7d 100644 --- a/nixos/modules/services/games/crossfire-server.nix +++ b/nixos/modules/services/games/crossfire-server.nix @@ -176,7 +176,7 @@ in # need to be writeable, so we can't just point at the ones in the nix # store. Instead we take the approach of copying them out of the store # on first run. If `bookarch` already exists, we assume the rest of the - # files do as well, and copy nothing -- otherwise we risk ovewriting + # files do as well, and copy nothing -- otherwise we risk overwriting # server state information every time the server is upgraded. preStart = '' if [ ! -e "${cfg.stateDir}"/bookarch ]; then diff --git a/nixos/modules/services/hardware/kmonad.nix b/nixos/modules/services/hardware/kmonad.nix index 72d5d7d71503..56a6472b4411 100644 --- a/nixos/modules/services/hardware/kmonad.nix +++ b/nixos/modules/services/hardware/kmonad.nix @@ -201,7 +201,7 @@ let # the old service and then starts the new service after config updates. # Since we use path-based activation[1] here, the service unit will # immediately[2] be started by the path unit. Probably that start is - # before config updates, whcih causes the service unit to use the old + # before config updates, which causes the service unit to use the old # config after nixos-rebuild switch. Setting stopIfChanged to false works # around this issue by restarting the service after config updates. # [0]: https://nixos.org/manual/nixos/unstable/#sec-switching-systems diff --git a/nixos/modules/services/misc/ntfy-sh.nix b/nixos/modules/services/misc/ntfy-sh.nix index 0e846b28d3b9..b69c03a6679d 100644 --- a/nixos/modules/services/misc/ntfy-sh.nix +++ b/nixos/modules/services/misc/ntfy-sh.nix @@ -107,7 +107,7 @@ in RestrictNamespaces = true; RestrictRealtime = true; MemoryDenyWriteExecute = true; - # Upstream Recommandation + # Upstream Recommendation LimitNOFILE = 20500; }; }; diff --git a/nixos/modules/services/monitoring/below.nix b/nixos/modules/services/monitoring/below.nix index 79f9badf65fe..74497cd0b608 100644 --- a/nixos/modules/services/monitoring/below.nix +++ b/nixos/modules/services/monitoring/below.nix @@ -91,7 +91,7 @@ in config = lib.mkIf cfg.enable { environment.systemPackages = [ pkgs.below ]; - # /etc/below.conf is also refered to by the `below` CLI tool, + # /etc/below.conf is also referred to by the `below` CLI tool, # so this can't be a store-only file whose path is passed to the service environment.etc."below/below.conf".text = cfgContents; diff --git a/nixos/modules/services/networking/cato-client.nix b/nixos/modules/services/networking/cato-client.nix index b9b31e0c5794..e4fa2259bf32 100644 --- a/nixos/modules/services/networking/cato-client.nix +++ b/nixos/modules/services/networking/cato-client.nix @@ -55,7 +55,7 @@ in wantedBy = [ "multi-user.target" ]; }; - # set up Security wrapper Same as inteded in deb post install + # set up Security wrapper Same as intended in deb post install security.wrappers.cato-clientd = { source = "${cfg.package}/bin/cato-clientd"; owner = "root"; diff --git a/nixos/modules/services/networking/fedimintd.nix b/nixos/modules/services/networking/fedimintd.nix index c7d93854e21a..c68512d8ec81 100644 --- a/nixos/modules/services/networking/fedimintd.nix +++ b/nixos/modules/services/networking/fedimintd.nix @@ -289,7 +289,7 @@ in { # Note: we want by default to enable OpenSSL, but it seems anything 100 and above is - # overriden by default value from vhost-options.nix + # overridden by default value from vhost-options.nix enableACME = mkOverride 99 true; forceSSL = mkOverride 99 true; locations.${cfg.nginx.path} = { diff --git a/nixos/modules/services/networking/netbird.nix b/nixos/modules/services/networking/netbird.nix index 1dc5267563dd..84383f7e28ca 100644 --- a/nixos/modules/services/networking/netbird.nix +++ b/nixos/modules/services/networking/netbird.nix @@ -550,7 +550,7 @@ in User = client.user.name; Group = client.user.group; - # settings implied by DynamicUser=true, without actully using it, + # settings implied by DynamicUser=true, without actually using it, # see https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#DynamicUser= RemoveIPC = true; PrivateTmp = true; diff --git a/nixos/modules/services/networking/netbird/dashboard.nix b/nixos/modules/services/networking/netbird/dashboard.nix index 8d1cbe7f6de1..cc1ab9f46ff1 100644 --- a/nixos/modules/services/networking/netbird/dashboard.nix +++ b/nixos/modules/services/networking/netbird/dashboard.nix @@ -102,7 +102,7 @@ in # special options as its public anyway # As far as I know leaking this secret is just # an information leak as one can fetch some basic app - # informations from the IDP + # information from the IDP # To actually do something one still needs to have login # data and this secret so this being public will not # suffice for anything just decreasing security diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix index b53af1dbdf71..88ecfe22d70a 100644 --- a/nixos/modules/services/networking/ssh/sshd.nix +++ b/nixos/modules/services/networking/ssh/sshd.nix @@ -42,7 +42,7 @@ let # values must be separated by whitespace or even commas. # Consult either sshd_config(5) or, as last resort, the OpehSSH source for parsing # the options at servconf.c:process_server_config_line_depth() to determine the right "mode" - # for each. But fortunaly this fact is documented for most of them in the manpage. + # for each. But fortunately this fact is documented for most of them in the manpage. commaSeparated = [ "Ciphers" "KexAlgorithms" diff --git a/nixos/modules/services/networking/yggdrasil-jumper.nix b/nixos/modules/services/networking/yggdrasil-jumper.nix index 8a73b26a812c..195d1329ae4b 100644 --- a/nixos/modules/services/networking/yggdrasil-jumper.nix +++ b/nixos/modules/services/networking/yggdrasil-jumper.nix @@ -133,7 +133,7 @@ in services.yggdrasil.settings.Listen = let - # By default linux dynamically alocates ports in range 32768..60999 + # By default linux dynamically allocates ports in range 32768..60999 # `sysctl net.ipv4.ip_local_port_range` # See: https://xkcd.com/221/ prot_port = { diff --git a/nixos/modules/services/security/tor.nix b/nixos/modules/services/security/tor.nix index 960d4b647b8b..cc3f0f36e1b8 100644 --- a/nixos/modules/services/security/tor.nix +++ b/nixos/modules/services/security/tor.nix @@ -295,7 +295,7 @@ let ( lib.mapAttrs ( k: v: - # Not necesssary, but prettier rendering + # Not necessary, but prettier rendering if lib.elem k [ "AutomapHostsSuffixes" diff --git a/nixos/modules/services/web-apps/davis.nix b/nixos/modules/services/web-apps/davis.nix index 23a28ed84fd3..ad724dc1d1a2 100644 --- a/nixos/modules/services/web-apps/davis.nix +++ b/nixos/modules/services/web-apps/davis.nix @@ -348,7 +348,7 @@ in else if pgsqlLocal # note: davis expects a non-standard postgres uri (due to the underlying doctrine library) - # specifically the dummy hostname which is overriden by the host query parameter + # specifically the dummy hostname which is overridden by the host query parameter then "postgres://${user}@localhost/${db.name}?host=/run/postgresql" else if mysqlLocal then diff --git a/nixos/modules/services/web-apps/plausible.nix b/nixos/modules/services/web-apps/plausible.nix index a4b84c56d2e4..36482f0e4306 100644 --- a/nixos/modules/services/web-apps/plausible.nix +++ b/nixos/modules/services/web-apps/plausible.nix @@ -224,7 +224,7 @@ in # Thus, disable distribution for improved simplicity and security: # # When distribution is enabled, - # Elixir spwans the Erlang VM, which will listen by default on all + # Elixir spawns the Erlang VM, which will listen by default on all # interfaces for messages between Erlang nodes (capable of # remote code execution); it can be protected by a cookie; see # https://erlang.org/doc/reference_manual/distributed.html#security). diff --git a/nixos/modules/services/web-apps/windmill.nix b/nixos/modules/services/web-apps/windmill.nix index b7b3ba3ca976..bc600b730a8c 100644 --- a/nixos/modules/services/web-apps/windmill.nix +++ b/nixos/modules/services/web-apps/windmill.nix @@ -132,7 +132,7 @@ in { # coming from https://github.com/windmill-labs/windmill/blob/main/init-db-as-superuser.sql - # modified to not grant priviledges on all tables + # modified to not grant privileges on all tables # create role windmill_user and windmill_admin only if they don't exist postgresql.postStart = lib.mkIf cfg.database.createLocally ( lib.mkAfter '' diff --git a/nixos/modules/virtualisation/azure-common.nix b/nixos/modules/virtualisation/azure-common.nix index 80196d74a139..55c6c706b017 100644 --- a/nixos/modules/virtualisation/azure-common.nix +++ b/nixos/modules/virtualisation/azure-common.nix @@ -26,7 +26,7 @@ in # Enable cloud-init by default for waagent. # Otherwise waagent would try manage networking using ifupdown, - # which is currently not availeble in nixpkgs. + # which is currently not available in nixpkgs. services.cloud-init.enable = true; services.cloud-init.network.enable = true; systemd.services.cloud-config.serviceConfig.Restart = "on-failure"; diff --git a/nixos/modules/virtualisation/azure-image.nix b/nixos/modules/virtualisation/azure-image.nix index 252381d0f198..fa09398e12f8 100644 --- a/nixos/modules/virtualisation/azure-image.nix +++ b/nixos/modules/virtualisation/azure-image.nix @@ -105,7 +105,7 @@ in splashImage = null; # For Gen 1 VM, configurate grub output to serial_com0. # Not needed for Gen 2 VM wbere serial_com0 does not exist, - # and outputing to console is enough to make Azure Serial Console working + # and outputting to console is enough to make Azure Serial Console working extraConfig = lib.mkIf (!efiSupport) '' serial --unit=0 --speed=115200 --word=8 --parity=no --stop=1 terminal_input --append serial diff --git a/nixos/modules/virtualisation/waagent.nix b/nixos/modules/virtualisation/waagent.nix index 4929b8435170..dc80456ebb91 100644 --- a/nixos/modules/virtualisation/waagent.nix +++ b/nixos/modules/virtualisation/waagent.nix @@ -67,7 +67,7 @@ let convert = attrs: pipe (recurse [ ] attrs) [ - # Filter out null values and emoty lists + # Filter out null values and empty lists (filter (kv: kv.value != null && kv.value != [ ])) # Transform to Key=Value form, then concatenate (map (kv: "${kv.name}=${transform kv.value}")) diff --git a/nixos/tests/appliance-repart-image.nix b/nixos/tests/appliance-repart-image.nix index 11447cf8fa03..d35654c56a64 100644 --- a/nixos/tests/appliance-repart-image.nix +++ b/nixos/tests/appliance-repart-image.nix @@ -65,8 +65,8 @@ in repartConfig = { Type = "esp"; Format = "vfat"; - # Minimize = "guess" seems to not work very vell for vfat - # partitons. It's better to set a sensible default instead. The + # Minimize = "guess" seems to not work very well for vfat + # partitions. It's better to set a sensible default instead. The # aarch64 kernel seems to generally be a little bigger than the # x86_64 kernel. To stay on the safe side, leave some more slack # for every platform other than x86_64. diff --git a/nixos/tests/common/acme/server/default.nix b/nixos/tests/common/acme/server/default.nix index 1f4b57dc5851..0786af59e60b 100644 --- a/nixos/tests/common/acme/server/default.nix +++ b/nixos/tests/common/acme/server/default.nix @@ -94,7 +94,7 @@ in ) cfg.configuration.security.acme.certs ) # A specialisation's config is nested under its configuration attribute. - # For ease of use, nest the root node's configuration simiarly. + # For ease of use, nest the root node's configuration similarly. ([ { configuration = node; } ] ++ (builtins.attrValues node.specialisation)) ) ); diff --git a/nixos/tests/ntfy-sh-migration.nix b/nixos/tests/ntfy-sh-migration.nix index 74ba58d98ebb..da2262e5f6b2 100644 --- a/nixos/tests/ntfy-sh-migration.nix +++ b/nixos/tests/ntfy-sh-migration.nix @@ -4,7 +4,7 @@ # this test works doing a migration and asserting ntfy-sh runs properly. first, # ntfy-sh is configured to use a static user and group. then ntfy-sh is # started and tested. after that, ntfy-sh is shut down and a systemd drop -# in configuration file is used to upate the service configuration to use +# in configuration file is used to update the service configuration to use # DynamicUser=true. then the ntfy-sh is started again and tested. import ./make-test-python.nix { diff --git a/nixos/tests/sftpgo.nix b/nixos/tests/sftpgo.nix index e3f7491a90d8..883f39966246 100644 --- a/nixos/tests/sftpgo.nix +++ b/nixos/tests/sftpgo.nix @@ -6,7 +6,7 @@ # - downloading the file over sftp # - assert that the ACLs are respected # - share a file between alice and bob (using sftp) -# - assert that eve cannot acceess the shared folder between alice and bob. +# - assert that eve cannot access the shared folder between alice and bob. # # Additional test coverage for the remaining protocols (i.e. ftp, http and webdav) # would be a nice to have for the future. @@ -333,7 +333,7 @@ in testScript = { nodes, ... }: let - # A function to generate test cases for wheter + # A function to generate test cases for whether # a specified username is expected to access the shared folder. accessSharedFoldersSubtest = { diff --git a/nixos/tests/systemd-sysupdate.nix b/nixos/tests/systemd-sysupdate.nix index 4cfd6c24438d..059f2db5df41 100644 --- a/nixos/tests/systemd-sysupdate.nix +++ b/nixos/tests/systemd-sysupdate.nix @@ -1,4 +1,4 @@ -# Tests downloading a signed update aritfact from a server to a target machine. +# Tests downloading a signed update artifact from a server to a target machine. # This test does not rely on the `systemd.timer` units provided by the # `systemd-sysupdate` module but triggers the `systemd-sysupdate` service # manually to make the test more robust. diff --git a/nixos/tests/systemd-timesyncd-nscd-dnssec.nix b/nixos/tests/systemd-timesyncd-nscd-dnssec.nix index df30751b507e..d68b324858c0 100644 --- a/nixos/tests/systemd-timesyncd-nscd-dnssec.nix +++ b/nixos/tests/systemd-timesyncd-nscd-dnssec.nix @@ -4,7 +4,7 @@ # correct time, we need to connect to an NTP server, which usually requires resolving its hostname. # # This test does the following: -# - Sets up a DNS server (tinydns) listening on the eth1 ip addess, serving .ntp and fake.ntp records. +# - Sets up a DNS server (tinydns) listening on the eth1 ip address, serving .ntp and fake.ntp records. # - Configures that DNS server as a resolver and enables DNSSEC in systemd-resolved settings. # - Configures systemd-timesyncd to use fake.ntp hostname as an NTP server. # - Performs a regular DNS lookup, to ensure it fails due to broken DNSSEC. diff --git a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix index e3ef4bd8e9c1..7f21dac10a18 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix @@ -17,7 +17,7 @@ ./update-from-overlay It will update both melpa and elpa packages using - https://github.com/nix-community/emacs-overlay. It's almost instantenous and + https://github.com/nix-community/emacs-overlay. It's almost instantaneous and formats commits for you. */ @@ -1355,7 +1355,7 @@ let hyperbole = ignoreCompilationError (addPackageRequires (mkHome super.hyperbole) [ self.el-mock ]); # elisp error # needs non-existent "browser database directory" during compilation - # TODO report to upsteam about missing dependency websocket + # TODO report to upstream about missing dependency websocket ibrowse = ignoreCompilationError (addPackageRequires super.ibrowse [ self.websocket ]); # elisp error and missing optional dependencies @@ -1368,7 +1368,7 @@ let indium = mkHome super.indium; - # TODO report to upsteam + # TODO report to upstream inlineR = addPackageRequires super.inlineR [ self.ess ]; # https://github.com/duelinmarkers/insfactor.el/issues/7 @@ -1547,7 +1547,7 @@ let org-gtd = ignoreCompilationError super.org-gtd; # elisp error - # needs newer org than the Eamcs 29.4 builtin one + # needs newer org than the Emacs 29.4 builtin one org-link-beautify = addPackageRequires super.org-link-beautify [ self.org self.qrencode diff --git a/pkgs/applications/editors/vscode/extensions/default.nix b/pkgs/applications/editors/vscode/extensions/default.nix index b7fb23904f74..b95bfa581946 100644 --- a/pkgs/applications/editors/vscode/extensions/default.nix +++ b/pkgs/applications/editors/vscode/extensions/default.nix @@ -5709,7 +5709,7 @@ let }; # TODO: add overrides overlay, so that we can have a generated.nix - # then apply extension specific modifcations to packages. + # then apply extension specific modifications to packages. # overlays will be applied left to right, overrides should come after aliases. overlays = lib.optionals config.allowAliases [ diff --git a/pkgs/applications/editors/vscode/extensions/ms-vscode.cpptools/default.nix b/pkgs/applications/editors/vscode/extensions/ms-vscode.cpptools/default.nix index 9c29ea704f01..2b64214db1aa 100644 --- a/pkgs/applications/editors/vscode/extensions/ms-vscode.cpptools/default.nix +++ b/pkgs/applications/editors/vscode/extensions/ms-vscode.cpptools/default.nix @@ -33,7 +33,7 @@ - Once the symbolic link temporary solution taken, everything shoud run smootly. + Once the symbolic link temporary solution taken, everything should run smootly. */ let diff --git a/pkgs/applications/graphics/yacreader/default.nix b/pkgs/applications/graphics/yacreader/default.nix index f47f5a0a022f..dcde6f9ae3ee 100644 --- a/pkgs/applications/graphics/yacreader/default.nix +++ b/pkgs/applications/graphics/yacreader/default.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { libsForQt5.qtmacextras # can be removed when using qt6 ]; - # custom Darwin install instructions taken from the upsteam compileOSX.sh script + # custom Darwin install instructions taken from the upstream compileOSX.sh script installPhase = lib.optionalString stdenv.hostPlatform.isDarwin '' runHook preInstall diff --git a/pkgs/build-support/rust/build-rust-crate/default.nix b/pkgs/build-support/rust/build-rust-crate/default.nix index f7cd3a421eb9..323b39c2e1f0 100644 --- a/pkgs/build-support/rust/build-rust-crate/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/default.nix @@ -15,7 +15,7 @@ jq, libiconv, # Controls codegen parallelization for all crates. - # May be overriden on a per-crate level. + # May be overridden on a per-crate level. # See defaultCodegenUnits ? 1, }: diff --git a/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix b/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix index 4400df270666..08219db54930 100644 --- a/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix +++ b/pkgs/build-support/rust/build-rust-crate/test/rcgen-crates.nix @@ -20,7 +20,7 @@ defaultCrateOverrides ? pkgs.defaultCrateOverrides, # The features to enable for the root_crate or the workspace_members. rootFeatures ? [ "default" ], - # If true, throw errors instead of issueing deprecation warnings. + # If true, throw errors instead of issuing deprecation warnings. strictDeprecation ? false, # Used for conditional compilation based on CPU feature detection. targetFeatures ? [ ], @@ -4485,9 +4485,9 @@ rec { runTests ? false, testCrateFlags ? [ ], testInputs ? [ ], - # Any command to run immediatelly before a test is executed. + # Any command to run immediately before a test is executed. testPreRun ? "", - # Any command run immediatelly after a test is executed. + # Any command run immediately after a test is executed. testPostRun ? "", }: lib.makeOverridable diff --git a/pkgs/by-name/ad/adios2/package.nix b/pkgs/by-name/ad/adios2/package.nix index 6dc9083f41dd..ae66c6eae943 100644 --- a/pkgs/by-name/ad/adios2/package.nix +++ b/pkgs/by-name/ad/adios2/package.nix @@ -85,7 +85,7 @@ stdenv.mkDerivation (finalAttrs: { yaml-cpp nlohmann_json - # Todo: add these optional dependcies in nixpkgs. + # Todo: add these optional dependencies in nixpkgs. # sz # mgard # catalyst diff --git a/pkgs/by-name/hy/hyperhdr/package.nix b/pkgs/by-name/hy/hyperhdr/package.nix index f1d593c06ffd..43a979167901 100644 --- a/pkgs/by-name/hy/hyperhdr/package.nix +++ b/pkgs/by-name/hy/hyperhdr/package.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { ]; patches = [ - # Allow completly unvendoring hyperhdr + # Allow completely unvendoring hyperhdr # This can be removed on the next hyperhdr release ./unvendor.patch ]; diff --git a/pkgs/by-name/il/ilmbase/package.nix b/pkgs/by-name/il/ilmbase/package.nix index 74fcb9fe9a57..5c3c76833967 100644 --- a/pkgs/by-name/il/ilmbase/package.nix +++ b/pkgs/by-name/il/ilmbase/package.nix @@ -3,7 +3,7 @@ lib, buildPackages, cmake, - # explicitely depending on openexr_2 because ilmbase doesn't exist for v3 + # explicitly depending on openexr_2 because ilmbase doesn't exist for v3 openexr_2, }: diff --git a/pkgs/by-name/im/imlib2/package.nix b/pkgs/by-name/im/imlib2/package.nix index 752b3dfb8882..3183dc6306ef 100644 --- a/pkgs/by-name/im/imlib2/package.nix +++ b/pkgs/by-name/im/imlib2/package.nix @@ -75,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: { enableParallelBuilding = true; # Do not build amd64 assembly code on Darwin, because it fails to compile - # with unknow directive errors + # with unknown directive errors configureFlags = optional stdenv.hostPlatform.isDarwin "--enable-amd64=no" ++ optional (!svgSupport) "--without-svg" diff --git a/pkgs/by-name/li/libcredis/package.nix b/pkgs/by-name/li/libcredis/package.nix index 28103abe29e6..46644331bf0b 100644 --- a/pkgs/by-name/li/libcredis/package.nix +++ b/pkgs/by-name/li/libcredis/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation rec { sha256 = "1l3hlw9rrc11qggbg9a2303p3bhxxx2vqkmlk8avsrbqw15r1ayr"; }; - # credis build system has no install actions, provide our own. + # credits build system has no install actions, provide our own. installPhase = '' mkdir -p "$out/bin" mkdir -p "$out/lib" diff --git a/pkgs/by-name/mi/miktex/package.nix b/pkgs/by-name/mi/miktex/package.nix index 3abba4f2e345..05ebf8c1c2cc 100644 --- a/pkgs/by-name/mi/miktex/package.nix +++ b/pkgs/by-name/mi/miktex/package.nix @@ -106,7 +106,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ ./startup-config-support-nix-store.patch # Miktex will search exectables in "GetMyPrefix(true)/bin". - # The path evalutate to "/usr/bin" in FHS style linux distrubution, + # The path evaluate to "/usr/bin" in FHS style linux distribution, # compared to "/nix/store/.../bin" in NixOS. # As a result, miktex will fail to find e.g. 'pkexec','ksudo','gksu' # under /run/wrappers/bin in NixOS. diff --git a/pkgs/by-name/mx/mxnet/package.nix b/pkgs/by-name/mx/mxnet/package.nix index 83e20d2c129f..74abf56e03ce 100644 --- a/pkgs/by-name/mx/mxnet/package.nix +++ b/pkgs/by-name/mx/mxnet/package.nix @@ -14,7 +14,7 @@ perl, # mxnet cuda support is turned off, but dependencies like opencv can still be built with cudaSupport # and fail to compile without the cudatoolkit - # mxnet cuda support will not be availaible, as mxnet requires version <=11 + # mxnet cuda support will not be available, as mxnet requires version <=11 cudaSupport ? config.cudaSupport, cudaPackages ? { }, }: diff --git a/pkgs/by-name/ty/typical/package.nix b/pkgs/by-name/ty/typical/package.nix index 91c9d00d4db6..b1fed0501db5 100644 --- a/pkgs/by-name/ty/typical/package.nix +++ b/pkgs/by-name/ty/typical/package.nix @@ -30,7 +30,7 @@ rustPlatform.buildRustPackage rec { patches = [ # Related to https://github.com/stepchowfun/typical/pull/501 - # Commiting a slightly different patch because the upstream one doesn't apply cleanly + # Committing a slightly different patch because the upstream one doesn't apply cleanly ./lifetime.patch ]; diff --git a/pkgs/by-name/us/usb-reset/package.nix b/pkgs/by-name/us/usb-reset/package.nix index 8f722dd3c652..c573472304af 100644 --- a/pkgs/by-name/us/usb-reset/package.nix +++ b/pkgs/by-name/us/usb-reset/package.nix @@ -8,7 +8,7 @@ stdenv.mkDerivation { pname = "usb-reset"; # not tagged, but changelog has this with the date of the e9a9d6c commit - # and no significant change occured between bumping the version in the Makefile and that + # and no significant change occurred between bumping the version in the Makefile and that # and the changes since then (up to ff822d8) seem snap related version = "0.3"; diff --git a/pkgs/by-name/yt/ytmdesktop/package.nix b/pkgs/by-name/yt/ytmdesktop/package.nix index 3540e1e631cc..89afe420b2c1 100644 --- a/pkgs/by-name/yt/ytmdesktop/package.nix +++ b/pkgs/by-name/yt/ytmdesktop/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ - # instead of runnning git during the build process + # instead of running git during the build process # use the .COMMIT file generated in the fetcher FOD ./git-rev-parse.patch ]; diff --git a/pkgs/by-name/ze/zepp-simulator/package.nix b/pkgs/by-name/ze/zepp-simulator/package.nix index f8d4503660f9..ff256529e23b 100644 --- a/pkgs/by-name/ze/zepp-simulator/package.nix +++ b/pkgs/by-name/ze/zepp-simulator/package.nix @@ -6,7 +6,7 @@ copyDesktopItems, autoPatchelfHook, - # Upstream is officialy built with Electron 18 + # Upstream is officially built with Electron 18 # (but it works with latest Electron with minor changes, see HACK below) electron, asar, diff --git a/pkgs/development/compilers/gcc/common/configure-flags.nix b/pkgs/development/compilers/gcc/common/configure-flags.nix index 3b09398dc678..20a3b230b9fd 100644 --- a/pkgs/development/compilers/gcc/common/configure-flags.nix +++ b/pkgs/development/compilers/gcc/common/configure-flags.nix @@ -38,7 +38,7 @@ assert !enablePlugin -> disableGdbPlugin; # Note [Windows Exception Handling] # sjlj (short jump long jump) exception handling makes no sense on x86_64, -# it's forcably slowing programs down as it produces a constant overhead. +# it's forcibly slowing programs down as it produces a constant overhead. # On x86_64 we have SEH (Structured Exception Handling) and we should use # that. On i686, we do not have SEH, and have to use sjlj with dwarf2. # Hence it's now conditional on x86_32 (i686 is 32bit). diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index e45550d6d41f..2b8511e1063c 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -20,7 +20,7 @@ with haskellLib; self: super: { - # Hackage's accelerate is from 2020 and incomptible with our GHC. + # Hackage's accelerate is from 2020 and incompatible with our GHC. # The existing derivation also has missing dependencies # compared to the source from github. # https://github.com/AccelerateHS/accelerate/issues/553 @@ -791,7 +791,7 @@ self: super: katt = dontCheck super.katt; language-slice = dontCheck super.language-slice; - # Bogus lower bound on data-default-class added via Hackage revison + # Bogus lower bound on data-default-class added via Hackage revision # https://github.com/mrkkrp/req/pull/180#issuecomment-2628201485 req = overrideCabal { revision = null; @@ -1963,7 +1963,7 @@ self: super: license = lib.licenses.bsd3; # ghc-bignum is not buildable if none of the three backends # is explicitly enabled. We enable Native for now as it doesn't - # depend on anything else as oppossed to GMP and FFI. + # depend on anything else as opposed to GMP and FFI. # Apply patch which fixes a compilation failure we encountered. # Will need to be kept until we can drop ghc-bignum entirely, # i. e. if GHC 8.10.* and 8.8.* have been removed. @@ -2529,7 +2529,7 @@ self: super: # Missing test files https://github.com/kephas/xdg-basedir-compliant/issues/1 xdg-basedir-compliant = dontCheck super.xdg-basedir-compliant; - # Test failure after libxcrypt migration, reported upstrem at + # Test failure after libxcrypt migration, reported upstream at # https://github.com/phadej/crypt-sha512/issues/13 crypt-sha512 = dontCheck super.crypt-sha512; diff --git a/pkgs/development/interpreters/ruby/default.nix b/pkgs/development/interpreters/ruby/default.nix index 9461b0335ee5..48a5724b150b 100644 --- a/pkgs/development/interpreters/ruby/default.nix +++ b/pkgs/development/interpreters/ruby/default.nix @@ -207,7 +207,7 @@ let # When using a baseruby, ruby always sets "libdir" to the build # directory, which nix rejects due to a reference in to /build/ in # the final product. Removing this reference doesn't seem to break - # anything and fixes cross compliation. + # anything and fixes cross compilation. ./dont-refer-to-build-dir.patch ]; diff --git a/pkgs/development/libraries/ffmpeg/generic.nix b/pkgs/development/libraries/ffmpeg/generic.nix index fd5b46846952..bb47eb7faace 100644 --- a/pkgs/development/libraries/ffmpeg/generic.nix +++ b/pkgs/development/libraries/ffmpeg/generic.nix @@ -34,7 +34,7 @@ # all dependants in Nixpkgs withSmallDeps ? ffmpegVariant == "small" || withFullDeps, - # Everything enabled; only guarded behind platform exclusivity or brokeness. + # Everything enabled; only guarded behind platform exclusivity or brokenness. # If you need to depend on ffmpeg-full because ffmpeg is missing some feature # your package needs, you should enable that feature in regular ffmpeg # instead. diff --git a/pkgs/development/libraries/openssl/default.nix b/pkgs/development/libraries/openssl/default.nix index 50d2c25e56f2..0cd7d15a92d9 100644 --- a/pkgs/development/libraries/openssl/default.nix +++ b/pkgs/development/libraries/openssl/default.nix @@ -225,7 +225,7 @@ let # This avoids conflicts between man pages of openssl subcommands (for # example 'ts' and 'err') man pages and their equivalent top-level # command in other packages (respectively man-pages and moreutils). - # This is done in ubuntu and archlinux, and possiibly many other distros. + # This is done in ubuntu and archlinux, and possibly many other distros. "MANSUFFIX=ssl" ]; diff --git a/pkgs/development/libraries/vigra/default.nix b/pkgs/development/libraries/vigra/default.nix index 822865f8866e..91f39eb62472 100644 --- a/pkgs/development/libraries/vigra/default.nix +++ b/pkgs/development/libraries/vigra/default.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ - # Pathes to fix compiling on LLVM 19 from https://github.com/ukoethe/vigra/pull/592 + # Patches to fix compiling on LLVM 19 from https://github.com/ukoethe/vigra/pull/592 ./fix-llvm-19-1.patch ./fix-llvm-19-2.patch ]; diff --git a/pkgs/development/python-modules/brotlicffi/default.nix b/pkgs/development/python-modules/brotlicffi/default.nix index c909672dabea..7b010502d39b 100644 --- a/pkgs/development/python-modules/brotlicffi/default.nix +++ b/pkgs/development/python-modules/brotlicffi/default.nix @@ -4,7 +4,7 @@ buildPythonPackage, pythonOlder, cffi, - # overriden as pkgs.brotli + # overridden as pkgs.brotli brotli, setuptools, pytestCheckHook, diff --git a/pkgs/development/python-modules/datadog/default.nix b/pkgs/development/python-modules/datadog/default.nix index 9b0576b5e41c..b00cb9405d3a 100644 --- a/pkgs/development/python-modules/datadog/default.nix +++ b/pkgs/development/python-modules/datadog/default.nix @@ -60,7 +60,7 @@ buildPythonPackage rec { # https://github.com/DataDog/datadogpy/issues/746 "TestDogshell" - # Flaky: test execution time aganst magic values + # Flaky: test execution time against magic values "test_distributed" "test_timed" "test_timed_in_ms" diff --git a/pkgs/development/python-modules/dm-haiku/default.nix b/pkgs/development/python-modules/dm-haiku/default.nix index 0a818b0b8f36..6e39b1e872ff 100644 --- a/pkgs/development/python-modules/dm-haiku/default.nix +++ b/pkgs/development/python-modules/dm-haiku/default.nix @@ -60,7 +60,7 @@ let # AttributeError: jax.core.Var was removed in JAX v0.6.0. Use jax.extend.core.Var instead, and # see https://docs.jax.dev/en/latest/jax.extend.html for details. - # Alrady on master: https://github.com/google-deepmind/dm-haiku/commit/cfe8480d253a93100bf5e2d24c40435a95399c96 + # Already on master: https://github.com/google-deepmind/dm-haiku/commit/cfe8480d253a93100bf5e2d24c40435a95399c96 # TODO: remove at the next release postPatch = '' substituteInPlace haiku/_src/jaxpr_info.py \ diff --git a/pkgs/development/python-modules/flashinfer/default.nix b/pkgs/development/python-modules/flashinfer/default.nix index 1600ab2c38a4..83b91b746e7c 100644 --- a/pkgs/development/python-modules/flashinfer/default.nix +++ b/pkgs/development/python-modules/flashinfer/default.nix @@ -3,7 +3,7 @@ # requires the CUDA toolkit (via nvcc) to be available. # # This means that if you plan to use flashinfer, you will need to set the -# environment varaible `CUDA_HOME` to `cudatoolkit`. +# environment variable `CUDA_HOME` to `cudatoolkit`. { lib, config, diff --git a/pkgs/development/python-modules/fmpy/default.nix b/pkgs/development/python-modules/fmpy/default.nix index fd66b5f34bd2..0ea342c526cb 100644 --- a/pkgs/development/python-modules/fmpy/default.nix +++ b/pkgs/development/python-modules/fmpy/default.nix @@ -178,7 +178,7 @@ buildPythonPackage rec { }; # FMPy searches for sundials without the "lib"-prefix; strip it - # and symlink the so-files into existance. + # and symlink the so-files into existence. postFixup = '' pushd $out/lib for so in *.so; do diff --git a/pkgs/development/python-modules/itables/default.nix b/pkgs/development/python-modules/itables/default.nix index 39e6c1292f15..712ee86840e0 100644 --- a/pkgs/development/python-modules/itables/default.nix +++ b/pkgs/development/python-modules/itables/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { # itables has 4 different node packages, each with their own # package-lock.json, and partially depending on each other. # Our fetchNpmDeps tooling in nixpkgs doesn't support this yet, so we fetch - # the source tarball from pypi, wich includes the javascript bundle already. + # the source tarball from pypi, which includes the javascript bundle already. src = fetchPypi { inherit pname version; hash = "sha256-S5HASUVfqTny+Vu15MYSSrEffCaJuL7UhDOc3eudVWI="; diff --git a/pkgs/development/python-modules/langchain-aws/default.nix b/pkgs/development/python-modules/langchain-aws/default.nix index eb2f53bcb3f3..7101aa562733 100644 --- a/pkgs/development/python-modules/langchain-aws/default.nix +++ b/pkgs/development/python-modules/langchain-aws/default.nix @@ -54,7 +54,7 @@ buildPythonPackage rec { # Boto @ 1.35 has outstripped the version requirement "boto3" # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix b/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix index 507a1077a492..48b370202563 100644 --- a/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix +++ b/pkgs/development/python-modules/langchain-azure-dynamic-sessions/default.nix @@ -44,7 +44,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain-chroma/default.nix b/pkgs/development/python-modules/langchain-chroma/default.nix index b6fc144cc255..3566f1acb4f1 100644 --- a/pkgs/development/python-modules/langchain-chroma/default.nix +++ b/pkgs/development/python-modules/langchain-chroma/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" "numpy" ]; diff --git a/pkgs/development/python-modules/langchain-community/default.nix b/pkgs/development/python-modules/langchain-community/default.nix index 80c5f0e8139e..b9fcdd4bfc59 100644 --- a/pkgs/development/python-modules/langchain-community/default.nix +++ b/pkgs/development/python-modules/langchain-community/default.nix @@ -56,7 +56,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest langchain and -core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain" "langchain-core" "numpy" diff --git a/pkgs/development/python-modules/langchain-groq/default.nix b/pkgs/development/python-modules/langchain-groq/default.nix index a54f98e1e28b..08b65b629a1d 100644 --- a/pkgs/development/python-modules/langchain-groq/default.nix +++ b/pkgs/development/python-modules/langchain-groq/default.nix @@ -34,7 +34,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain-huggingface/default.nix b/pkgs/development/python-modules/langchain-huggingface/default.nix index d9ef22aee8fb..1a27dd280ba0 100644 --- a/pkgs/development/python-modules/langchain-huggingface/default.nix +++ b/pkgs/development/python-modules/langchain-huggingface/default.nix @@ -49,7 +49,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain-mongodb/default.nix b/pkgs/development/python-modules/langchain-mongodb/default.nix index 5203d812d336..af4d6d4032c4 100644 --- a/pkgs/development/python-modules/langchain-mongodb/default.nix +++ b/pkgs/development/python-modules/langchain-mongodb/default.nix @@ -39,7 +39,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" "numpy" ]; diff --git a/pkgs/development/python-modules/langchain-ollama/default.nix b/pkgs/development/python-modules/langchain-ollama/default.nix index f9cda1e40f5d..c17593224580 100644 --- a/pkgs/development/python-modules/langchain-ollama/default.nix +++ b/pkgs/development/python-modules/langchain-ollama/default.nix @@ -40,7 +40,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain-openai/default.nix b/pkgs/development/python-modules/langchain-openai/default.nix index 537520d435ee..6710daa6e852 100644 --- a/pkgs/development/python-modules/langchain-openai/default.nix +++ b/pkgs/development/python-modules/langchain-openai/default.nix @@ -52,7 +52,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain-tests/default.nix b/pkgs/development/python-modules/langchain-tests/default.nix index 51b591b4e83b..7c6bb1762386 100644 --- a/pkgs/development/python-modules/langchain-tests/default.nix +++ b/pkgs/development/python-modules/langchain-tests/default.nix @@ -42,7 +42,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" "numpy" ]; diff --git a/pkgs/development/python-modules/langchain-text-splitters/default.nix b/pkgs/development/python-modules/langchain-text-splitters/default.nix index 78936ef99755..d9d999de58aa 100644 --- a/pkgs/development/python-modules/langchain-text-splitters/default.nix +++ b/pkgs/development/python-modules/langchain-text-splitters/default.nix @@ -34,7 +34,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" ]; diff --git a/pkgs/development/python-modules/langchain/default.nix b/pkgs/development/python-modules/langchain/default.nix index 29138323fb55..c1c2cdd6440c 100644 --- a/pkgs/development/python-modules/langchain/default.nix +++ b/pkgs/development/python-modules/langchain/default.nix @@ -60,7 +60,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Each component release requests the exact latest core. - # That prevents us from updating individul components. + # That prevents us from updating individual components. "langchain-core" "numpy" "tenacity" diff --git a/pkgs/development/python-modules/mpi-pytest/default.nix b/pkgs/development/python-modules/mpi-pytest/default.nix index 0d7933098a1f..585307c94b83 100644 --- a/pkgs/development/python-modules/mpi-pytest/default.nix +++ b/pkgs/development/python-modules/mpi-pytest/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { hash = "sha256-r9UB5H+qAJc6k2SVAiOCI2yRDLNv2zKRmfrAan+cX9I="; }; - # A temporary fixup to support fork mode with openmpi implemention + # A temporary fixup to support fork mode with openmpi implementation # See https://github.com/firedrakeproject/mpi-pytest/pull/17 postPatch = lib.optionalString (mpi4py.mpi.pname == "openmpi") '' substituteInPlace pytest_mpi/plugin.py \ diff --git a/pkgs/development/python-modules/piano-transcription-inference/default.nix b/pkgs/development/python-modules/piano-transcription-inference/default.nix index e57523d12195..855a1e0f012b 100644 --- a/pkgs/development/python-modules/piano-transcription-inference/default.nix +++ b/pkgs/development/python-modules/piano-transcription-inference/default.nix @@ -68,7 +68,7 @@ buildPythonPackage rec { # Project has no tests. # In order to make pythonImportsCheck work, NUMBA_CACHE_DIR env var need to # be set to a writable dir (https://github.com/numba/numba/issues/4032#issuecomment-488102702). - # pythonImportsCheck has no pre* hook, use checkPhase to wordaround that. + # pythonImportsCheck has no pre* hook, use checkPhase to workaround that. checkPhase = '' export NUMBA_CACHE_DIR="$(mktemp -d)" ''; diff --git a/pkgs/development/python-modules/pip/default.nix b/pkgs/development/python-modules/pip/default.nix index 8f4269b523fd..dca65d503b20 100644 --- a/pkgs/development/python-modules/pip/default.nix +++ b/pkgs/development/python-modules/pip/default.nix @@ -24,7 +24,7 @@ tomli-w, werkzeug, - # coupled downsteam dependencies + # coupled downstream dependencies pip-tools, }: diff --git a/pkgs/development/python-modules/twisted/default.nix b/pkgs/development/python-modules/twisted/default.nix index 199944707eb4..e6d853fe2314 100644 --- a/pkgs/development/python-modules/twisted/default.nix +++ b/pkgs/development/python-modules/twisted/default.nix @@ -110,7 +110,7 @@ buildPythonPackage rec { "MulticastTests.test_multiListen" ]; "src/twisted/trial/test/test_script.py" = [ - # Fails in LXC containers with less than all cores availaible (limits.cpu) + # Fails in LXC containers with less than all cores available (limits.cpu) "AutoJobsTests.test_cpuCount" ]; "src/twisted/internet/test/test_unix.py" = [ diff --git a/pkgs/development/python-modules/yamllint/default.nix b/pkgs/development/python-modules/yamllint/default.nix index b79310cf1cba..bb46c3444136 100644 --- a/pkgs/development/python-modules/yamllint/default.nix +++ b/pkgs/development/python-modules/yamllint/default.nix @@ -37,7 +37,7 @@ buildPythonPackage rec { [ # test failure reported upstream: https://github.com/adrienverge/yamllint/issues/373 "test_find_files_recursively" - # Issue wih fixture + # Issue with fixture "test_codec_built_in_equivalent" ] ++ lib.optionals stdenv.hostPlatform.isDarwin [ diff --git a/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix index 4232c7a98132..2ca251cffe85 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix +++ b/pkgs/development/tools/build-managers/bazel/bazel_6/default.nix @@ -241,7 +241,7 @@ stdenv.mkDerivation rec { # guarantee that it will always run in any nix context. # # See also ./bazel_darwin_sandbox.patch in bazel_5. That patch uses - # NIX_BUILD_TOP env var to conditionnally disable sleep features inside the + # NIX_BUILD_TOP env var to conditionally disable sleep features inside the # sandbox. # # If you want to investigate the sandbox profile path, diff --git a/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix b/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix index 7a5b4a6a2bb8..fe710bdd30cb 100644 --- a/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix +++ b/pkgs/development/tools/build-managers/bazel/bazel_7/default.nix @@ -323,11 +323,11 @@ stdenv.mkDerivation rec { # --{,tool_}java_runtime_version=local_jdk and rely on the fact no java # toolchain registered by default uses the local_jdk, making the selection # unambiguous. - # This toolchain has the advantage that it can use any ambiant java jdk, + # This toolchain has the advantage that it can use any ambient java jdk, # not only a given, fixed version. It allows bazel to work correctly in any # environment where JAVA_HOME is set to the right java version, like inside # nix derivations. - # However, this patch breaks bazel hermeticity, by picking the ambiant java + # However, this patch breaks bazel hermeticity, by picking the ambient java # version instead of the more hermetic remote_jdk prebuilt binaries that # rules_java provide by default. It also requires the user to have a # JAVA_HOME set to the exact version required by the project. @@ -347,7 +347,7 @@ stdenv.mkDerivation rec { # guarantee that it will always run in any nix context. # # See also ./bazel_darwin_sandbox.patch in bazel_5. That patch uses - # NIX_BUILD_TOP env var to conditionnally disable sleep features inside the + # NIX_BUILD_TOP env var to conditionally disable sleep features inside the # sandbox. # # If you want to investigate the sandbox profile path, diff --git a/pkgs/servers/home-assistant/default.nix b/pkgs/servers/home-assistant/default.nix index 002257de09c3..8d286ae30426 100644 --- a/pkgs/servers/home-assistant/default.nix +++ b/pkgs/servers/home-assistant/default.nix @@ -151,8 +151,8 @@ let ]; }); - # Pinned due to home-assistant still needing 1.10.0 verison - # Remove this when home-assistant upates the jellyfin-apiclient-python version + # Pinned due to home-assistant still needing 1.10.0 version + # Remove this when home-assistant updates the jellyfin-apiclient-python version jellyfin-apiclient-python = super.jellyfin-apiclient-python.overridePythonAttrs (oldAttrs: rec { version = "1.10.0"; src = fetchFromGitHub { diff --git a/pkgs/stdenv/generic/check-meta.nix b/pkgs/stdenv/generic/check-meta.nix index 739fe39394cb..1284935c5e4b 100644 --- a/pkgs/stdenv/generic/check-meta.nix +++ b/pkgs/stdenv/generic/check-meta.nix @@ -120,7 +120,7 @@ let isMarkedInsecure = attrs: (attrs.meta.knownVulnerabilities or [ ]) != [ ]; - # Alow granular checks to allow only some unfree packages + # Allow granular checks to allow only some unfree packages # Example: # {pkgs, ...}: # { diff --git a/pkgs/test/texlive/default.nix b/pkgs/test/texlive/default.nix index 4154249ad1a6..34bbc12efaee 100644 --- a/pkgs/test/texlive/default.nix +++ b/pkgs/test/texlive/default.nix @@ -625,7 +625,7 @@ rec { "outocp" "pmxab" - # GUI scripts that accept no argument or crash without a graphics server; please test manualy + # GUI scripts that accept no argument or crash without a graphics server; please test manually "epspdftk" "texdoctk" "tlshell" diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 57aefbbf9d1c..5accf1cff649 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -3658,7 +3658,7 @@ with pkgs; libhandy = callPackage ../development/libraries/libhandy { }; - # Needed for apps that still depend on the unstable verison of the library (not libhandy-1) + # Needed for apps that still depend on the unstable version of the library (not libhandy-1) libhandy_0 = callPackage ../development/libraries/libhandy/0.x.nix { }; libint = callPackage ../development/libraries/libint { }; @@ -4853,7 +4853,7 @@ with pkgs; zbar = libsForQt5.callPackage ../tools/graphics/zbar { }; - # Nvidia support does not require any propietary libraries, so CI can build it. + # Nvidia support does not require any proprietary libraries, so CI can build it. # Note that when enabling this unconditionally, non-nvidia users will always have an empty "GPU" section. zenith-nvidia = zenith.override { nvidiaSupport = true; @@ -7057,7 +7057,7 @@ with pkgs; # host platform. # # Because this is the *next* stages choice, it's a bit non-modular to put - # here. In theory, bootstraping is supposed to not be a chain but at tree, + # here. In theory, bootstrapping is supposed to not be a chain but at tree, # where each stage supports many "successor" stages, like multiple possible # futures. We don't have a better alternative, but with this downside in # mind, please be judicious when using this attribute. E.g. for building @@ -8209,7 +8209,7 @@ with pkgs; stdenv = stdenvNoLibc; }; - # These are used when buiding compiler-rt / libgcc, prior to building libc. + # These are used when building compiler-rt / libgcc, prior to building libc. preLibcCrossHeaders = let inherit (stdenv.targetPlatform) libc; @@ -10575,7 +10575,7 @@ with pkgs; nginxModules = recurseIntoAttrs (callPackage ../servers/http/nginx/modules.nix { }); - # We should move to dynmaic modules and create a nginxFull package with all modules + # We should move to dynamic modules and create a nginxFull package with all modules nginxShibboleth = nginxStable.override { modules = [ nginxModules.rtmp @@ -13703,7 +13703,7 @@ with pkgs; jdk = jdk17; }; - # perhaps there are better apps for this task? It's how I had configured my preivous system. + # perhaps there are better apps for this task? It's how I had configured my previous system. # And I don't want to rewrite all rules profanity = callPackage ../applications/networking/instant-messengers/profanity ( { diff --git a/pkgs/top-level/stage.nix b/pkgs/top-level/stage.nix index 3cd2a95f8ff0..2334242238d5 100644 --- a/pkgs/top-level/stage.nix +++ b/pkgs/top-level/stage.nix @@ -328,7 +328,7 @@ let # The complete chain of package set builders, applied from top to bottom. # stdenvOverlays must be last as it brings package forward from the - # previous bootstrapping phases which have already been overlayed. + # previous bootstrapping phases which have already been overlaid. toFix = lib.foldl' (lib.flip lib.extends) (self: { }) ( [ stdenvBootstappingAndPlatforms