Skip to content

Commit 5aba992

Browse files
committed
treewide: fix typos in comments
Made with ```shell git restore . fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF" typos --no-check-filenames --write-changes "$1" git diff --exit-code "$1" && exit #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1" count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )" count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )" [[ $count1 -ne $count2 ]] && git restore "$1" EOF )" -- {} ``` and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch` I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
1 parent d8b348c commit 5aba992

File tree

298 files changed

+317
-317
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

298 files changed

+317
-317
lines changed

pkgs/applications/editors/emacs/build-support/buffer.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Functions to build elisp files to locally configure emcas buffers.
1+
# Functions to build elisp files to locally configure emacs buffers.
22
# See https://github.com/shlevy/nix-buffer
33

44
{

pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Alternatively, run the following command:
1717
./update-from-overlay
1818
1919
It will update both melpa and elpa packages using
20-
https://github.com/nix-community/emacs-overlay. It's almost instantenous and
20+
https://github.com/nix-community/emacs-overlay. It's almost instantaneous and
2121
formats commits for you.
2222
2323
*/

pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Alternatively, run the following command:
1717
./update-from-overlay
1818
1919
It will update both melpa and elpa packages using
20-
https://github.com/nix-community/emacs-overlay. It's almost instantenous and
20+
https://github.com/nix-community/emacs-overlay. It's almost instantaneous and
2121
formats commits for you.
2222
2323
*/

pkgs/applications/editors/vim/plugins/vim-utils.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
============================
6868
The example file pkgs/applications/editors/vim/plugins/default.nix provides
6969
both:
70-
* manually mantained plugins
70+
* manually maintained plugins
7171
* plugins created by VAM's nix#ExportPluginsForNix implementation
7272
7373
I highly recommend to lookup vim plugin attribute names at the [vim-pi] project

pkgs/applications/emulators/libretro/mkLibretroCore.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
extraNativeBuildInputs ? [ ],
1414
## Location of resulting RetroArch core on $out
1515
libretroCore ? "/lib/retroarch/cores",
16-
## The core filename is derivated from the core name
16+
## The core filename is derived from the core name
1717
## Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename
1818
normalizeCore ? true,
1919
...

pkgs/applications/graphics/f3d/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
, cmake
55
, help2man
66
, gzip
7-
# There is a f3d overriden with EGL enabled vtk in top-level/all-packages.nix
7+
# There is a f3d overridden with EGL enabled vtk in top-level/all-packages.nix
88
# compiling with EGL enabled vtk will result in f3d running in headless mode
99
# See https://github.com/NixOS/nixpkgs/pull/324022. This may change later.
1010
, vtk_9

pkgs/applications/graphics/rawtherapee/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ stdenv.mkDerivation rec {
4444
repo = "RawTherapee";
4545
rev = version;
4646
hash = "sha256-jIAbguwF2aqRTk72ro5oHNTawA7biPSFC41YHgRR730=";
47-
# The developpers ask not to use the tarball from Github releases, see
47+
# The developers ask not to use the tarball from Github releases, see
4848
# https://www.rawtherapee.com/downloads/5.10/#news-relevant-to-package-maintainers
4949
forceFetchGit = true;
5050
};

pkgs/applications/graphics/sane/backends/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
libtool,
2929
autoconf-archive,
3030

31-
# List of { src name backend } attibute sets - see installFirmware below:
31+
# List of { src name backend } attribute sets - see installFirmware below:
3232
extraFirmware ? [ ],
3333

3434
# For backwards compatibility with older setups; use extraFirmware instead:

pkgs/applications/misc/inochi2d/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ in
3434
dubLock = ./creator-dub-lock.json;
3535

3636
patches = [
37-
# Upstream asks that we change the bug tracker URL to not point to the upsteam bug tracker
37+
# Upstream asks that we change the bug tracker URL to not point to the upstream bug tracker
3838
(replaceVars ./support-url.patch {
3939
assignees = "TomaSajt"; # should be a comma separated list of the github usernames of the maintainers
4040
})

pkgs/applications/networking/browsers/chromium/common.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -673,14 +673,14 @@ let
673673

674674
# Build Chromium using the system toolchain (for Linux distributions):
675675
#
676-
# What you would expect to be caled "target_toolchain" is
676+
# What you would expect to be called "target_toolchain" is
677677
# actually called either "default_toolchain" or "custom_toolchain",
678678
# depending on which part of the codebase you are in; see:
679679
# https://github.com/chromium/chromium/blob/d36462cc9279464395aea5e65d0893d76444a296/build/config/BUILDCONFIG.gn#L17-L44
680680
custom_toolchain = "//build/toolchain/linux/unbundle:default";
681681
host_toolchain = "//build/toolchain/linux/unbundle:default";
682682
# We only build those specific toolchains when we cross-compile, as native non-cross-compilations would otherwise
683-
# end up building much more things than they need to (roughtly double the build steps and time/compute):
683+
# end up building much more things than they need to (roughly double the build steps and time/compute):
684684
}
685685
// lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) {
686686
host_toolchain = "//build/toolchain/linux/unbundle:host";

0 commit comments

Comments
 (0)