From 5aba99242eb2ca90cdc4eea40d61ad9157e5913c Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 22 Feb 2025 21:23:34 +0100 Subject: [PATCH] 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 '^~ ' | wc -l )" count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^~ ( *)?.*$' | 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. --- pkgs/applications/editors/emacs/build-support/buffer.nix | 2 +- .../editors/emacs/elisp-packages/elpa-devel-packages.nix | 2 +- .../editors/emacs/elisp-packages/elpa-packages.nix | 2 +- pkgs/applications/editors/vim/plugins/vim-utils.nix | 2 +- pkgs/applications/emulators/libretro/mkLibretroCore.nix | 2 +- pkgs/applications/graphics/f3d/default.nix | 2 +- pkgs/applications/graphics/rawtherapee/default.nix | 2 +- pkgs/applications/graphics/sane/backends/default.nix | 2 +- pkgs/applications/misc/inochi2d/default.nix | 2 +- pkgs/applications/networking/browsers/chromium/common.nix | 4 ++-- pkgs/applications/networking/browsers/firefox/common.nix | 2 +- pkgs/applications/networking/browsers/firefox/wrapper.nix | 4 ++-- pkgs/applications/networking/cluster/k3s/default.nix | 2 +- .../mailreaders/evolution/evolution-ews/default.nix | 2 +- .../applications/networking/mailreaders/mailnag/default.nix | 2 +- pkgs/applications/networking/mullvad/openvpn.nix | 2 +- pkgs/applications/office/libreoffice/wrapper.nix | 2 +- pkgs/applications/radio/cqrlog/default.nix | 2 +- pkgs/applications/radio/sdr-j-fm/default.nix | 2 +- .../science/chemistry/autodock-vina/python-bindings.nix | 2 +- pkgs/applications/science/electronics/kicad/default.nix | 2 +- pkgs/applications/science/electronics/qucs-s/default.nix | 2 +- pkgs/applications/science/electronics/xyce/default.nix | 2 +- .../science/molecular-dynamics/raspa/default.nix | 2 +- pkgs/applications/version-management/gitlint/default.nix | 2 +- pkgs/applications/video/kodi/build-kodi-binary-addon.nix | 2 +- pkgs/applications/virtualization/OVMF/default.nix | 2 +- pkgs/applications/virtualization/singularity/generic.nix | 2 +- pkgs/build-support/build-fhsenv-bubblewrap/default.nix | 2 +- pkgs/build-support/cc-wrapper/default.nix | 2 +- pkgs/build-support/coq/extra-lib.nix | 2 +- pkgs/build-support/fetchhg/default.nix | 2 +- pkgs/build-support/make-darwin-bundle/default.nix | 2 +- pkgs/build-support/node/fetch-npm-deps/default.nix | 2 +- pkgs/build-support/node/import-npm-lock/default.nix | 2 +- pkgs/build-support/nuke-references/default.nix | 2 +- pkgs/build-support/pkg-config-wrapper/default.nix | 2 +- pkgs/build-support/release/default.nix | 2 +- pkgs/build-support/rust/build-rust-crate/log.nix | 2 +- pkgs/build-support/rust/build-rust-crate/test/default.nix | 2 +- pkgs/build-support/rust/hooks/test/default.nix | 2 +- pkgs/build-support/source-from-head-fun.nix | 4 ++-- pkgs/build-support/testers/lychee.nix | 2 +- .../trivial-builders/test/references/default.nix | 2 +- pkgs/by-name/ae/aegisub/package.nix | 2 +- pkgs/by-name/ap/appimagekit/package.nix | 2 +- pkgs/by-name/av/avisynthplus/package.nix | 2 +- pkgs/by-name/bm/bmon/package.nix | 2 +- pkgs/by-name/ca/castero/package.nix | 2 +- pkgs/by-name/cl/clickable/package.nix | 2 +- pkgs/by-name/cm/cmake/package.nix | 2 +- pkgs/by-name/cn/cnijfilter2/package.nix | 2 +- pkgs/by-name/co/colobot/package.nix | 2 +- pkgs/by-name/cp/cpuinfo/package.nix | 2 +- pkgs/by-name/cs/csharp-ls/package.nix | 2 +- pkgs/by-name/cs/csharprepl/package.nix | 2 +- pkgs/by-name/de/devspace/package.nix | 2 +- pkgs/by-name/dj/djenrandom/package.nix | 2 +- pkgs/by-name/dl/dleyna-connector-dbus/package.nix | 2 +- pkgs/by-name/dl/dleyna-renderer/package.nix | 2 +- pkgs/by-name/dl/dleyna-server/package.nix | 2 +- pkgs/by-name/ds/dsniff/package.nix | 2 +- pkgs/by-name/du/duckstation/sources.nix | 2 +- pkgs/by-name/du/dumpasn1/package.nix | 2 +- pkgs/by-name/ed/edopro/package.nix | 2 +- pkgs/by-name/en/envision/package.nix | 2 +- pkgs/by-name/ep/epson-escpr2/package.nix | 2 +- pkgs/by-name/es/esdm/package.nix | 2 +- pkgs/by-name/fl/flottbot/package.nix | 2 +- pkgs/by-name/fo/fontforge/package.nix | 2 +- pkgs/by-name/fo/foomatic-db/package.nix | 2 +- pkgs/by-name/fo/fork-cleaner/package.nix | 2 +- pkgs/by-name/fr/frozen/package.nix | 2 +- pkgs/by-name/fu/fulcio/package.nix | 2 +- pkgs/by-name/gi/git-pw/package.nix | 2 +- pkgs/by-name/gn/gnupth/package.nix | 2 +- pkgs/by-name/gn/gnuradioMinimal/package.nix | 4 ++-- pkgs/by-name/gp/gparted/package.nix | 2 +- pkgs/by-name/gr/graphicsmagick/package.nix | 2 +- pkgs/by-name/ha/hap-py/package.nix | 2 +- pkgs/by-name/ha/haunt/package.nix | 2 +- pkgs/by-name/hd/hdos/package.nix | 2 +- pkgs/by-name/ho/homebox/package.nix | 2 +- pkgs/by-name/hy/hydrapaper/package.nix | 2 +- pkgs/by-name/ic/iconpack-obsidian/package.nix | 2 +- pkgs/by-name/jo/jogl/package.nix | 2 +- pkgs/by-name/ki/kinect-audio-setup/package.nix | 2 +- pkgs/by-name/ld/ld64/package.nix | 2 +- pkgs/by-name/ld/ldmtool/package.nix | 2 +- pkgs/by-name/le/lensfun/package.nix | 2 +- pkgs/by-name/li/libation/package.nix | 2 +- pkgs/by-name/li/libgpg-error/package.nix | 2 +- pkgs/by-name/li/libloot/package.nix | 2 +- pkgs/by-name/li/litehtml/package.nix | 2 +- pkgs/by-name/lo/local-ai/package.nix | 2 +- pkgs/by-name/lo/looking-glass-client/package.nix | 2 +- pkgs/by-name/lp/LPCNet/package.nix | 2 +- pkgs/by-name/ma/maa-cli/package.nix | 2 +- pkgs/by-name/ma/matlab-language-server/package.nix | 2 +- pkgs/by-name/me/mealie/package.nix | 2 +- pkgs/by-name/me/megapixels/package.nix | 2 +- pkgs/by-name/mm/mmark/package.nix | 2 +- pkgs/by-name/mu/mujoco/package.nix | 2 +- pkgs/by-name/na/nautilus-open-in-blackbox/package.nix | 2 +- pkgs/by-name/ne/nextcloud-client/package.nix | 2 +- pkgs/by-name/no/nomad-driver-containerd/package.nix | 2 +- pkgs/by-name/nu/nuclear/package.nix | 2 +- pkgs/by-name/nv/nvidia-container-toolkit/packages.nix | 2 +- pkgs/by-name/op/open-english-wordnet/package.nix | 2 +- pkgs/by-name/op/openbox/package.nix | 2 +- pkgs/by-name/op/openmm/package.nix | 2 +- pkgs/by-name/ot/otb/itk_4_13/package.nix | 2 +- pkgs/by-name/ph/phantomsocks/package.nix | 2 +- pkgs/by-name/po/portmod/package.nix | 2 +- pkgs/by-name/pr/proton-ge-bin/package.nix | 2 +- pkgs/by-name/py/pybibget/package.nix | 2 +- pkgs/by-name/re/realmd/package.nix | 2 +- pkgs/by-name/re/rewind-ai/package.nix | 2 +- pkgs/by-name/rq/rqlite/package.nix | 2 +- pkgs/by-name/sa/sage/sage.nix | 2 +- pkgs/by-name/sd/SDL2_image/package.nix | 2 +- pkgs/by-name/se/sequoia-sqv/package.nix | 2 +- pkgs/by-name/se/sequoia-wot/package.nix | 2 +- pkgs/by-name/si/sixpair/package.nix | 2 +- pkgs/by-name/sl/sleek/package.nix | 2 +- pkgs/by-name/ta/target-isns/package.nix | 2 +- pkgs/by-name/ti/tiny-cuda-nn/package.nix | 4 ++-- pkgs/by-name/to/topiary/package.nix | 2 +- pkgs/by-name/tr/trigger-control/package.nix | 2 +- pkgs/by-name/tt/tts/package.nix | 2 +- pkgs/by-name/tu/tuifimanager/package.nix | 2 +- pkgs/by-name/uc/uclibc-ng/package.nix | 2 +- pkgs/by-name/uc/ucommon/package.nix | 2 +- pkgs/by-name/un/unnethack/package.nix | 2 +- pkgs/by-name/va/vamp-plugin-sdk/package.nix | 2 +- pkgs/by-name/vk/vkd3d-proton/sources.nix | 2 +- pkgs/by-name/vl/vlang/package.nix | 2 +- pkgs/by-name/vm/vmagent/package.nix | 2 +- pkgs/by-name/xv/xvidcore/package.nix | 2 +- pkgs/by-name/ze/zed-open-capture/package.nix | 2 +- pkgs/by-name/zi/zim/package.nix | 2 +- pkgs/by-name/zs/zsync/package.nix | 2 +- pkgs/common-updater/combinators.nix | 2 +- pkgs/data/fonts/nerd-fonts/default.nix | 2 +- .../lomiri/applications/lomiri-camera-app/default.nix | 2 +- pkgs/desktops/plasma-5/kwin/default.nix | 2 +- pkgs/development/compilers/elm/packages/ghc9_2/default.nix | 2 +- pkgs/development/compilers/factor-lang/factor99.nix | 2 +- pkgs/development/compilers/gcc/default.nix | 4 ++-- pkgs/development/compilers/ghc/8.10.7-binary.nix | 4 ++-- pkgs/development/compilers/ghc/9.2.4-binary.nix | 4 ++-- pkgs/development/compilers/ghc/9.6.3-binary.nix | 2 +- pkgs/development/compilers/idris2/build-idris.nix | 2 +- .../compilers/llvm/common/compiler-rt/default.nix | 6 +++--- pkgs/development/compilers/ocaml/4.04.nix | 2 +- pkgs/development/compilers/ocaml/4.06.nix | 2 +- pkgs/development/compilers/sbcl/default.nix | 2 +- pkgs/development/compilers/swift/swiftpm/default.nix | 2 +- pkgs/development/compilers/yosys/default.nix | 2 +- pkgs/development/coq-modules/mathcomp-analysis/default.nix | 4 ++-- pkgs/development/coq-modules/metacoq/default.nix | 2 +- pkgs/development/cuda-modules/cudnn-frontend/default.nix | 2 +- pkgs/development/cuda-modules/cutensor/extension.nix | 2 +- pkgs/development/cuda-modules/generic-builders/manifest.nix | 2 +- pkgs/development/gnuradio-modules/mkDerivation.nix | 2 +- .../haskell-modules/configuration-ghc-8.10.x.nix | 2 +- .../development/haskell-modules/configuration-ghc-9.6.x.nix | 2 +- .../development/haskell-modules/configuration-ghc-9.8.x.nix | 2 +- pkgs/development/haskell-modules/configuration-nix.nix | 4 ++-- pkgs/development/interpreters/lua-5/interpreter.nix | 2 +- pkgs/development/libraries/boost/generic.nix | 2 +- pkgs/development/libraries/gssdp/tools.nix | 2 +- pkgs/development/libraries/libdvdnav/4.2.1.nix | 2 +- pkgs/development/libraries/libgit2/default.nix | 2 +- pkgs/development/libraries/libsbsms/common.nix | 2 +- pkgs/development/libraries/libunistring/default.nix | 2 +- pkgs/development/libraries/opencv/4.x.nix | 4 ++-- pkgs/development/libraries/openimageio/default.nix | 2 +- pkgs/development/libraries/qgnomeplatform/default.nix | 2 +- pkgs/development/libraries/quictls/default.nix | 2 +- pkgs/development/libraries/zlib/default.nix | 4 ++-- pkgs/development/ocaml-modules/ocaml-r/default.nix | 2 +- pkgs/development/python-modules/asgi-csrf/default.nix | 2 +- pkgs/development/python-modules/astropy/default.nix | 2 +- pkgs/development/python-modules/babelfont/default.nix | 2 +- pkgs/development/python-modules/bitsandbytes/default.nix | 2 +- .../python-modules/conda-libmamba-solver/default.nix | 2 +- pkgs/development/python-modules/cupy/default.nix | 2 +- pkgs/development/python-modules/dask-image/default.nix | 2 +- pkgs/development/python-modules/databricks-sdk/default.nix | 2 +- pkgs/development/python-modules/decopatch/default.nix | 2 +- pkgs/development/python-modules/deepdiff/default.nix | 2 +- pkgs/development/python-modules/dict2xml/default.nix | 2 +- .../python-modules/django-filingcabinet/default.nix | 2 +- .../development/python-modules/django-markdownx/default.nix | 2 +- pkgs/development/python-modules/django/5.nix | 2 +- pkgs/development/python-modules/dparse2/default.nix | 2 +- pkgs/development/python-modules/eth-hash/default.nix | 2 +- pkgs/development/python-modules/exrex/default.nix | 2 +- pkgs/development/python-modules/gfal2-util/fetchgfal2.nix | 2 +- pkgs/development/python-modules/gftools/default.nix | 2 +- pkgs/development/python-modules/grpcio-status/default.nix | 2 +- .../python-modules/hatch-jupyter-builder/default.nix | 2 +- pkgs/development/python-modules/howdoi/default.nix | 2 +- pkgs/development/python-modules/influxdb/default.nix | 2 +- pkgs/development/python-modules/iniconfig/default.nix | 2 +- pkgs/development/python-modules/ipykernel/tests.nix | 2 +- pkgs/development/python-modules/jax/default.nix | 2 +- .../python-modules/jupyter-packaging/default.nix | 2 +- pkgs/development/python-modules/kombu/default.nix | 2 +- pkgs/development/python-modules/ldap3/default.nix | 2 +- pkgs/development/python-modules/librosa/default.nix | 2 +- pkgs/development/python-modules/lightwave/default.nix | 2 +- pkgs/development/python-modules/lineax/default.nix | 2 +- pkgs/development/python-modules/llguidance/default.nix | 2 +- pkgs/development/python-modules/manifest-ml/default.nix | 2 +- pkgs/development/python-modules/manim/default.nix | 2 +- pkgs/development/python-modules/manim/failing_tests.nix | 2 +- pkgs/development/python-modules/matplotlib/default.nix | 2 +- pkgs/development/python-modules/motionblindsble/default.nix | 2 +- pkgs/development/python-modules/notebook-shim/default.nix | 2 +- pkgs/development/python-modules/objax/default.nix | 2 +- .../python-modules/oldest-supported-numpy/default.nix | 2 +- pkgs/development/python-modules/onnxruntime/default.nix | 2 +- pkgs/development/python-modules/pefile/default.nix | 2 +- pkgs/development/python-modules/plotnine/default.nix | 2 +- pkgs/development/python-modules/pmdsky-debug-py/default.nix | 2 +- pkgs/development/python-modules/psutil/default.nix | 2 +- pkgs/development/python-modules/pueblo/default.nix | 2 +- pkgs/development/python-modules/pulumi-aws/default.nix | 2 +- pkgs/development/python-modules/pybigwig/default.nix | 2 +- pkgs/development/python-modules/pycomm3/default.nix | 2 +- pkgs/development/python-modules/pyflic/default.nix | 2 +- pkgs/development/python-modules/pyls-memestra/default.nix | 2 +- pkgs/development/python-modules/pymitv/default.nix | 2 +- pkgs/development/python-modules/pyskyqhub/default.nix | 2 +- pkgs/development/python-modules/pysnow/default.nix | 2 +- .../python-modules/pytest-pytestrail/default.nix | 2 +- .../python-modules/pytest-server-fixtures/default.nix | 2 +- pkgs/development/python-modules/python3-saml/default.nix | 2 +- pkgs/development/python-modules/qutip/default.nix | 2 +- pkgs/development/python-modules/rcssmin/default.nix | 2 +- pkgs/development/python-modules/rjsmin/default.nix | 2 +- .../development/python-modules/rki-covid-parser/default.nix | 2 +- pkgs/development/python-modules/seabreeze/default.nix | 2 +- pkgs/development/python-modules/sentry-sdk/1.nix | 2 +- pkgs/development/python-modules/sip/4.x.nix | 4 ++-- pkgs/development/python-modules/skytemple-files/default.nix | 2 +- pkgs/development/python-modules/spacy-loggers/default.nix | 2 +- .../python-modules/sphinx-version-warning/default.nix | 2 +- pkgs/development/python-modules/stm32loader/default.nix | 2 +- pkgs/development/python-modules/torchaudio/default.nix | 2 +- .../python-modules/tree-sitter-languages/default.nix | 2 +- pkgs/development/python-modules/treq/default.nix | 2 +- pkgs/development/python-modules/upass/default.nix | 2 +- pkgs/development/python-modules/verlib2/default.nix | 2 +- pkgs/development/python-modules/xmind/default.nix | 2 +- pkgs/development/rocm-modules/6/rocgdb/default.nix | 2 +- pkgs/development/ruby-modules/bundler-app/default.nix | 2 +- pkgs/development/ruby-modules/gem/default.nix | 2 +- pkgs/development/skaware-packages/build-skaware-package.nix | 2 +- pkgs/development/tools/electron/chromedriver/generic.nix | 2 +- pkgs/development/tools/misc/texinfo/common.nix | 2 +- pkgs/development/tools/misc/texinfo/packages.nix | 2 +- pkgs/development/tools/rtags/default.nix | 2 +- pkgs/games/dwarf-fortress/game.nix | 2 +- pkgs/games/gscrabble/default.nix | 2 +- pkgs/games/openra_2019/default.nix | 2 +- pkgs/games/openra_2019/engine.nix | 4 ++-- pkgs/games/openra_2019/mod.nix | 2 +- pkgs/games/openra_2019/packages.nix | 2 +- pkgs/misc/my-env/default.nix | 2 +- pkgs/misc/uboot/default.nix | 2 +- pkgs/os-specific/bsd/freebsd/pkgs/libspl.nix | 2 +- pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix | 6 +++--- pkgs/os-specific/darwin/libunwind/default.nix | 2 +- pkgs/os-specific/linux/kvmfr/default.nix | 2 +- .../linux/minimal-bootstrap/heirloom/default.nix | 2 +- pkgs/os-specific/linux/scx/scx_cscheds.nix | 2 +- pkgs/os-specific/linux/tp_smapi/default.nix | 2 +- pkgs/stdenv/booter.nix | 2 +- pkgs/stdenv/darwin/default.nix | 4 ++-- pkgs/stdenv/generic/make-derivation.nix | 2 +- pkgs/test/coq/overrideCoqDerivation/default.nix | 2 +- pkgs/tools/admin/google-cloud-sdk/components.nix | 2 +- pkgs/tools/filesystems/ceph/default.nix | 2 +- pkgs/tools/graphics/gnuplot/default.nix | 2 +- pkgs/tools/inputmethods/m17n-lib/default.nix | 2 +- pkgs/tools/misc/diffoscope/default.nix | 2 +- pkgs/tools/package-management/akku/akku.nix | 2 +- pkgs/tools/typesetting/tex/texlive/default.nix | 2 +- pkgs/top-level/coq-packages.nix | 2 +- pkgs/top-level/cuda-packages.nix | 2 +- pkgs/top-level/default.nix | 2 +- pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix | 2 +- pkgs/top-level/python2-packages.nix | 2 +- pkgs/top-level/release-cross.nix | 2 +- pkgs/top-level/rocq-packages.nix | 2 +- 298 files changed, 317 insertions(+), 317 deletions(-) diff --git a/pkgs/applications/editors/emacs/build-support/buffer.nix b/pkgs/applications/editors/emacs/build-support/buffer.nix index c91fd033e0b6..2c3c5771292e 100644 --- a/pkgs/applications/editors/emacs/build-support/buffer.nix +++ b/pkgs/applications/editors/emacs/build-support/buffer.nix @@ -1,4 +1,4 @@ -# Functions to build elisp files to locally configure emcas buffers. +# Functions to build elisp files to locally configure emacs buffers. # See https://github.com/shlevy/nix-buffer { diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix index 0db019dddb5c..535a8fde4e42 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix @@ -17,7 +17,7 @@ Alternatively, run the following command: ./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. */ diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix index 64c05ba3154e..df36f18cf4ce 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix @@ -17,7 +17,7 @@ Alternatively, run the following command: ./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. */ diff --git a/pkgs/applications/editors/vim/plugins/vim-utils.nix b/pkgs/applications/editors/vim/plugins/vim-utils.nix index d1f7bf3440e2..288fc44ba55f 100644 --- a/pkgs/applications/editors/vim/plugins/vim-utils.nix +++ b/pkgs/applications/editors/vim/plugins/vim-utils.nix @@ -67,7 +67,7 @@ ============================ The example file pkgs/applications/editors/vim/plugins/default.nix provides both: - * manually mantained plugins + * manually maintained plugins * plugins created by VAM's nix#ExportPluginsForNix implementation I highly recommend to lookup vim plugin attribute names at the [vim-pi] project diff --git a/pkgs/applications/emulators/libretro/mkLibretroCore.nix b/pkgs/applications/emulators/libretro/mkLibretroCore.nix index 9e063fe02572..da4d73bb121e 100644 --- a/pkgs/applications/emulators/libretro/mkLibretroCore.nix +++ b/pkgs/applications/emulators/libretro/mkLibretroCore.nix @@ -13,7 +13,7 @@ extraNativeBuildInputs ? [ ], ## Location of resulting RetroArch core on $out libretroCore ? "/lib/retroarch/cores", - ## The core filename is derivated from the core name + ## The core filename is derived from the core name ## Setting `normalizeCore` to `true` will convert `-` to `_` on the core filename normalizeCore ? true, ... diff --git a/pkgs/applications/graphics/f3d/default.nix b/pkgs/applications/graphics/f3d/default.nix index 4d1cb07a6e5a..71804747150c 100644 --- a/pkgs/applications/graphics/f3d/default.nix +++ b/pkgs/applications/graphics/f3d/default.nix @@ -4,7 +4,7 @@ , cmake , help2man , gzip -# There is a f3d overriden with EGL enabled vtk in top-level/all-packages.nix +# There is a f3d overridden with EGL enabled vtk in top-level/all-packages.nix # compiling with EGL enabled vtk will result in f3d running in headless mode # See https://github.com/NixOS/nixpkgs/pull/324022. This may change later. , vtk_9 diff --git a/pkgs/applications/graphics/rawtherapee/default.nix b/pkgs/applications/graphics/rawtherapee/default.nix index b4493bdbc41c..378706775928 100644 --- a/pkgs/applications/graphics/rawtherapee/default.nix +++ b/pkgs/applications/graphics/rawtherapee/default.nix @@ -44,7 +44,7 @@ stdenv.mkDerivation rec { repo = "RawTherapee"; rev = version; hash = "sha256-jIAbguwF2aqRTk72ro5oHNTawA7biPSFC41YHgRR730="; - # The developpers ask not to use the tarball from Github releases, see + # The developers ask not to use the tarball from Github releases, see # https://www.rawtherapee.com/downloads/5.10/#news-relevant-to-package-maintainers forceFetchGit = true; }; diff --git a/pkgs/applications/graphics/sane/backends/default.nix b/pkgs/applications/graphics/sane/backends/default.nix index 4532d7317c57..2777e107511a 100644 --- a/pkgs/applications/graphics/sane/backends/default.nix +++ b/pkgs/applications/graphics/sane/backends/default.nix @@ -28,7 +28,7 @@ libtool, autoconf-archive, - # List of { src name backend } attibute sets - see installFirmware below: + # List of { src name backend } attribute sets - see installFirmware below: extraFirmware ? [ ], # For backwards compatibility with older setups; use extraFirmware instead: diff --git a/pkgs/applications/misc/inochi2d/default.nix b/pkgs/applications/misc/inochi2d/default.nix index 177f3ede6ceb..9e30a883d668 100644 --- a/pkgs/applications/misc/inochi2d/default.nix +++ b/pkgs/applications/misc/inochi2d/default.nix @@ -34,7 +34,7 @@ in dubLock = ./creator-dub-lock.json; patches = [ - # Upstream asks that we change the bug tracker URL to not point to the upsteam bug tracker + # Upstream asks that we change the bug tracker URL to not point to the upstream bug tracker (replaceVars ./support-url.patch { assignees = "TomaSajt"; # should be a comma separated list of the github usernames of the maintainers }) diff --git a/pkgs/applications/networking/browsers/chromium/common.nix b/pkgs/applications/networking/browsers/chromium/common.nix index ecfda278b170..e77128287c77 100644 --- a/pkgs/applications/networking/browsers/chromium/common.nix +++ b/pkgs/applications/networking/browsers/chromium/common.nix @@ -673,14 +673,14 @@ let # Build Chromium using the system toolchain (for Linux distributions): # - # What you would expect to be caled "target_toolchain" is + # What you would expect to be called "target_toolchain" is # actually called either "default_toolchain" or "custom_toolchain", # depending on which part of the codebase you are in; see: # https://github.com/chromium/chromium/blob/d36462cc9279464395aea5e65d0893d76444a296/build/config/BUILDCONFIG.gn#L17-L44 custom_toolchain = "//build/toolchain/linux/unbundle:default"; host_toolchain = "//build/toolchain/linux/unbundle:default"; # We only build those specific toolchains when we cross-compile, as native non-cross-compilations would otherwise - # end up building much more things than they need to (roughtly double the build steps and time/compute): + # end up building much more things than they need to (roughly double the build steps and time/compute): } // lib.optionalAttrs (stdenv.buildPlatform != stdenv.hostPlatform) { host_toolchain = "//build/toolchain/linux/unbundle:host"; diff --git a/pkgs/applications/networking/browsers/firefox/common.nix b/pkgs/applications/networking/browsers/firefox/common.nix index bd853b8fd10b..6da89cbd007b 100644 --- a/pkgs/applications/networking/browsers/firefox/common.nix +++ b/pkgs/applications/networking/browsers/firefox/common.nix @@ -571,7 +571,7 @@ buildStdenv.mkDerivation { env = lib.optionalAttrs stdenv.hostPlatform.isMusl { # Firefox relies on nonstandard behavior of the glibc dynamic linker. It re-uses # previously loaded libraries even though they are not in the rpath of the newly loaded binary. - # On musl we have to explicity set the rpath to include these libraries. + # On musl we have to explicitly set the rpath to include these libraries. LDFLAGS = "-Wl,-rpath,${placeholder "out"}/lib/${binaryName}"; }; diff --git a/pkgs/applications/networking/browsers/firefox/wrapper.nix b/pkgs/applications/networking/browsers/firefox/wrapper.nix index ebccb73c85c5..dc95288ac562 100644 --- a/pkgs/applications/networking/browsers/firefox/wrapper.nix +++ b/pkgs/applications/networking/browsers/firefox/wrapper.nix @@ -95,7 +95,7 @@ let nameArray = builtins.map(a: a.name) (lib.optionals usesNixExtensions nixExtensions); - # Check that every extension has a unqiue .name attribute + # Check that every extension has a unique .name attribute # and an extid attribute extensions = if nameArray != (lib.unique nameArray) then throw "Firefox addon name needs to be unique" @@ -259,7 +259,7 @@ let "1" ] ++ lib.optionals (!xdg-utils.meta.broken) [ - # make xdg-open overrideable at runtime + # make xdg-open overridable at runtime "--suffix" "PATH" ":" diff --git a/pkgs/applications/networking/cluster/k3s/default.nix b/pkgs/applications/networking/cluster/k3s/default.nix index 34928938c1df..46d911e4efe9 100644 --- a/pkgs/applications/networking/cluster/k3s/default.nix +++ b/pkgs/applications/networking/cluster/k3s/default.nix @@ -3,7 +3,7 @@ let k3s_builder = import ./builder.nix lib; common = opts: callPackage (k3s_builder opts); - # extraArgs is the extra arguments passed in by the caller to propogate downward. + # extraArgs is the extra arguments passed in by the caller to propagate downward. # This is to allow all-packages.nix to do: # # let k3s_1_23 = (callPackage ./path/to/k3s { diff --git a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix index 7bfb6d45ef0d..a9be2325daae 100644 --- a/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix +++ b/pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { }; patches = [ - # evolution-ews contains .so files loaded by evolution-data-server refering + # evolution-ews contains .so files loaded by evolution-data-server referring # schemas from evolution. evolution-data-server is not wrapped with # evolution's schemas because it would be a circular dependency with # evolution. diff --git a/pkgs/applications/networking/mailreaders/mailnag/default.nix b/pkgs/applications/networking/mailreaders/mailnag/default.nix index 25904e5b44b0..77aa89e029a1 100644 --- a/pkgs/applications/networking/mailreaders/mailnag/default.nix +++ b/pkgs/applications/networking/mailreaders/mailnag/default.nix @@ -16,7 +16,7 @@ # Available plugins (can be overridden) availablePlugins, # Used in the withPlugins interface at passthru, can be overrided directly, or - # prefarably via e.g: `mailnag.withPlugins([mailnag.availablePlugins.goa])` + # preferably via e.g: `mailnag.withPlugins([mailnag.availablePlugins.goa])` mailnag, userPlugins ? [ ], pluginsDeps ? [ ], diff --git a/pkgs/applications/networking/mullvad/openvpn.nix b/pkgs/applications/networking/mullvad/openvpn.nix index b62ce2d5edee..95c48d771758 100644 --- a/pkgs/applications/networking/mullvad/openvpn.nix +++ b/pkgs/applications/networking/mullvad/openvpn.nix @@ -38,7 +38,7 @@ openvpn.overrideAttrs ( configureFlags = [ - # Assignement instead of appending to make sure to use exactly the flags required by mullvad + # Assignment instead of appending to make sure to use exactly the flags required by mullvad # Flags are based on https://github.com/mullvad/mullvadvpn-app-binaries/blob/main/Makefile#L17 "--enable-static" diff --git a/pkgs/applications/office/libreoffice/wrapper.nix b/pkgs/applications/office/libreoffice/wrapper.nix index 1bb8a60c3584..8e7eea39e440 100644 --- a/pkgs/applications/office/libreoffice/wrapper.nix +++ b/pkgs/applications/office/libreoffice/wrapper.nix @@ -12,7 +12,7 @@ dconf, librsvg, gdk-pixbuf, - # some scripts need these when used in conjuction with firejail + # some scripts need these when used in conjunction with firejail coreutils, gnugrep, # Configuration options for the wrapper diff --git a/pkgs/applications/radio/cqrlog/default.nix b/pkgs/applications/radio/cqrlog/default.nix index 935585761d70..b2bcc7829414 100644 --- a/pkgs/applications/radio/cqrlog/default.nix +++ b/pkgs/applications/radio/cqrlog/default.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { sha256 = "0zzcg0bl6mq4wfifj998x9x09w8sigbh46synpqx034fpr0swyhb"; }; - # Adds the possiblity to change the lazarus directory, + # Adds the possibility to change the lazarus directory, # otherwise, we would get error : "directory lcl not found" patches = [ ./fix-makefile-lazarusdir.patch ]; diff --git a/pkgs/applications/radio/sdr-j-fm/default.nix b/pkgs/applications/radio/sdr-j-fm/default.nix index 23be0ff1ac70..0ccb332bd0aa 100644 --- a/pkgs/applications/radio/sdr-j-fm/default.nix +++ b/pkgs/applications/radio/sdr-j-fm/default.nix @@ -48,7 +48,7 @@ stdenv.mkDerivation (finalAttrs: { passthru = { features = { - # All of these features don't require an external depencies, althought it + # All of these features don't require an external dependencies, although it # may be implied - upstraem bundles everything they need in their repo. AIRSPY = true; SDRPLAY = true; diff --git a/pkgs/applications/science/chemistry/autodock-vina/python-bindings.nix b/pkgs/applications/science/chemistry/autodock-vina/python-bindings.nix index fac32fed596a..2fa26286e53f 100644 --- a/pkgs/applications/science/chemistry/autodock-vina/python-bindings.nix +++ b/pkgs/applications/science/chemistry/autodock-vina/python-bindings.nix @@ -53,7 +53,7 @@ buildPythonPackage { numpy ]; - # upstrem has no tests + # upstream has no tests doCheck = false; pythonImportsCheck = [ diff --git a/pkgs/applications/science/electronics/kicad/default.nix b/pkgs/applications/science/electronics/kicad/default.nix index edfcf61c1a25..b98f3c28c073 100644 --- a/pkgs/applications/science/electronics/kicad/default.nix +++ b/pkgs/applications/science/electronics/kicad/default.nix @@ -90,7 +90,7 @@ let versionsImport = import ./versions.nix; # versions.nix does not provide us with version, src and rev. We - # need to turn this into approprate fetcher calls. + # need to turn this into appropriate fetcher calls. kicadSrcFetch = fetchFromGitLab { group = "kicad"; owner = "code"; diff --git a/pkgs/applications/science/electronics/qucs-s/default.nix b/pkgs/applications/science/electronics/qucs-s/default.nix index 1f89610c568b..10b1306a099a 100644 --- a/pkgs/applications/science/electronics/qucs-s/default.nix +++ b/pkgs/applications/science/electronics/qucs-s/default.nix @@ -57,7 +57,7 @@ stdenv.mkDerivation rec { "-DWITH_QT6=ON" ]; - # Make custom kernels avaible from qucs-s + # Make custom kernels available from qucs-s qtWrapperArgs = [ "--prefix" "PATH" ":" (lib.makeBinPath kernels) ]; QTDIR = qtbase.dev; diff --git a/pkgs/applications/science/electronics/xyce/default.nix b/pkgs/applications/science/electronics/xyce/default.nix index 6ad07b3f35cb..eaf54af16c7c 100644 --- a/pkgs/applications/science/electronics/xyce/default.nix +++ b/pkgs/applications/science/electronics/xyce/default.nix @@ -33,7 +33,7 @@ assert withMPI -> trilinos.withMPI; let version = "7.8.0"; - # useing fetchurl or fetchFromGitHub doesn't include the manuals + # using fetchurl or fetchFromGitHub doesn't include the manuals # due to .gitattributes files xyce_src = fetchgit { url = "https://github.com/Xyce/Xyce.git"; diff --git a/pkgs/applications/science/molecular-dynamics/raspa/default.nix b/pkgs/applications/science/molecular-dynamics/raspa/default.nix index 3830e3e72e06..088bc1ef4840 100644 --- a/pkgs/applications/science/molecular-dynamics/raspa/default.nix +++ b/pkgs/applications/science/molecular-dynamics/raspa/default.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation rec { # Wrap with RASPA_DIR # so that users can run $out/bin/simulate directly - # without the need of a `run` srcipt. + # without the need of a `run` script. postInstall = '' wrapProgram "$out/bin/simulate" \ --set RASPA_DIR "$out" diff --git a/pkgs/applications/version-management/gitlint/default.nix b/pkgs/applications/version-management/gitlint/default.nix index ec27bc6ecf34..a23e4476d90e 100644 --- a/pkgs/applications/version-management/gitlint/default.nix +++ b/pkgs/applications/version-management/gitlint/default.nix @@ -18,7 +18,7 @@ python3.pkgs.buildPythonApplication rec { hash = "sha256-4SGkkC4LjZXTDXwK6jMOIKXR1qX76CasOwSqv8XUrjs="; }; - # Upstream splitted the project into gitlint and gitlint-core to + # Upstream split the project into gitlint and gitlint-core to # simplify the dependency handling sourceRoot = "${src.name}/gitlint-core"; diff --git a/pkgs/applications/video/kodi/build-kodi-binary-addon.nix b/pkgs/applications/video/kodi/build-kodi-binary-addon.nix index 7fbd0f8c3d07..53700cb6f77d 100644 --- a/pkgs/applications/video/kodi/build-kodi-binary-addon.nix +++ b/pkgs/applications/video/kodi/build-kodi-binary-addon.nix @@ -39,7 +39,7 @@ toKodiAddon ( "-DOVERRIDE_PATHS=1" ] ++ extraCMakeFlags; - # kodi checks for addon .so libs existance in the addon folder (share/...) + # kodi checks for addon .so libs existence in the addon folder (share/...) # and the non-wrapped kodi lib/... folder before even trying to dlopen # them. Symlinking .so, as setting LD_LIBRARY_PATH is of no use installPhase = diff --git a/pkgs/applications/virtualization/OVMF/default.nix b/pkgs/applications/virtualization/OVMF/default.nix index ff014dc0aa5a..bfb069f4e053 100644 --- a/pkgs/applications/virtualization/OVMF/default.nix +++ b/pkgs/applications/virtualization/OVMF/default.nix @@ -214,7 +214,7 @@ edk2.mkDerivation projectDscPath (finalAttrs: { ''; # TODO: Usage of -bios OVMF.fd is discouraged: https://lists.katacontainers.io/pipermail/kata-dev/2021-January/001650.html - # We should remove the isx86-specifc block here once we're ready to update nixpkgs to stop using that and update the + # We should remove the isx86-specific block here once we're ready to update nixpkgs to stop using that and update the # release notes accordingly. postInstall = '' diff --git a/pkgs/applications/virtualization/singularity/generic.nix b/pkgs/applications/virtualization/singularity/generic.nix index 08c848feb17c..1d681883eb03 100644 --- a/pkgs/applications/virtualization/singularity/generic.nix +++ b/pkgs/applications/virtualization/singularity/generic.nix @@ -64,7 +64,7 @@ in # SingularityCE 3.10.0 and above requires explicit --without-seccomp when libseccomp is not available. enableSeccomp ? true, # Whether the configure script treat SUID support as default - # When equal to enableSuid, it supress the --with-suid / --without-suid build flag + # When equal to enableSuid, it suppress the --with-suid / --without-suid build flag # It can be set to `null` to always pass either --with-suid or --without-suided # Type: null or boolean defaultToSuid ? true, diff --git a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix index fbb263dceb14..e23d5040aa09 100644 --- a/pkgs/build-support/build-fhsenv-bubblewrap/default.nix +++ b/pkgs/build-support/build-fhsenv-bubblewrap/default.nix @@ -39,7 +39,7 @@ # `pname` and `version` will throw if they were not provided. # Use `name` instead of directly evaluating `pname` or `version`. # -# If you need `pname` or `version` sepcifically, use `args` instead: +# If you need `pname` or `version` specifically, use `args` instead: # e.g. `args.pname or ...`. let diff --git a/pkgs/build-support/cc-wrapper/default.nix b/pkgs/build-support/cc-wrapper/default.nix index 23a6319ba1eb..eadcd5bf0bcc 100644 --- a/pkgs/build-support/cc-wrapper/default.nix +++ b/pkgs/build-support/cc-wrapper/default.nix @@ -258,7 +258,7 @@ let machineFlags = # Always add -march based on cpu in triple. Sometimes there is a - # discrepency (x86_64 vs. x86-64), so we provide an "arch" arg in + # discrepancy (x86_64 vs. x86-64), so we provide an "arch" arg in # that case. optional (targetPlatform ? gcc.arch && !(targetPlatform.isDarwin && targetPlatform.isAarch64) && isGccArchSupported targetPlatform.gcc.arch) "-march=${targetPlatform.gcc.arch}" ++ # TODO: aarch64-darwin has mcpu incompatible with gcc diff --git a/pkgs/build-support/coq/extra-lib.nix b/pkgs/build-support/coq/extra-lib.nix index ec8c228a5353..c3cb5deda809 100644 --- a/pkgs/build-support/coq/extra-lib.nix +++ b/pkgs/build-support/coq/extra-lib.nix @@ -96,7 +96,7 @@ recursiveUpdate lib (rec { /* Returns a list of list, splitting it using a predicate. - This is analoguous to builtins.split sep list, + This is analogous to builtins.split sep list, with a predicate as a separator and a list instead of a string. Type: splitList :: (a -> bool) -> [a] -> [[a]] diff --git a/pkgs/build-support/fetchhg/default.nix b/pkgs/build-support/fetchhg/default.nix index ee7dc87a7bfb..dd6a8cfa87be 100644 --- a/pkgs/build-support/fetchhg/default.nix +++ b/pkgs/build-support/fetchhg/default.nix @@ -16,7 +16,7 @@ if hash != null && sha256 != null then throw "Only one of sha256 or hash can be set" else - # TODO: statically check if mercurial as the https support if the url starts woth https. + # TODO: statically check if mercurial as the https support if the url starts with https. stdenvNoCC.mkDerivation { name = "hg-archive" + (lib.optionalString (name != null) "-${name}"); builder = ./builder.sh; diff --git a/pkgs/build-support/make-darwin-bundle/default.nix b/pkgs/build-support/make-darwin-bundle/default.nix index c5fc4b5c87b9..e6ddb4b4198c 100644 --- a/pkgs/build-support/make-darwin-bundle/default.nix +++ b/pkgs/build-support/make-darwin-bundle/default.nix @@ -1,6 +1,6 @@ # given a package with an executable and an icon, make a darwin bundle for # it. This package should be used when generating launchers for native Darwin -# applications. If the package conatins a .desktop file use +# applications. If the package contains a .desktop file use # `desktopToDarwinBundle` instead. { diff --git a/pkgs/build-support/node/fetch-npm-deps/default.nix b/pkgs/build-support/node/fetch-npm-deps/default.nix index a001f80b113c..158ff08fae6c 100644 --- a/pkgs/build-support/node/fetch-npm-deps/default.nix +++ b/pkgs/build-support/node/fetch-npm-deps/default.nix @@ -126,7 +126,7 @@ forceGitDeps = true; }; - # This package has a lockfile v1 git dependency with no `dependencies` attribute, since it sementically has no dependencies. + # This package has a lockfile v1 git dependency with no `dependencies` attribute, since it semantically has no dependencies. jitsiMeet9111 = makeTest { name = "jitsi-meet-9111"; diff --git a/pkgs/build-support/node/import-npm-lock/default.nix b/pkgs/build-support/node/import-npm-lock/default.nix index 6e4d19914b70..7442d48bad16 100644 --- a/pkgs/build-support/node/import-npm-lock/default.nix +++ b/pkgs/build-support/node/import-npm-lock/default.nix @@ -88,7 +88,7 @@ lib.fix (self: { fetcherOpts ? { }, # A map from node_module path to an alternative package to use instead of fetching the source in package-lock.json. # Example: { "node_modules/axios" = stdenv.mkDerivation { ... }; } - # This is usefull if you want to inject custom sources for a specific package. + # This is useful if you want to inject custom sources for a specific package. packageSourceOverrides ? { }, }: let diff --git a/pkgs/build-support/nuke-references/default.nix b/pkgs/build-support/nuke-references/default.nix index 4472d6eeddc1..6351c82ce186 100644 --- a/pkgs/build-support/nuke-references/default.nix +++ b/pkgs/build-support/nuke-references/default.nix @@ -1,5 +1,5 @@ # The program `nuke-refs' created by this derivation replaces all -# references to the Nix store in the specified files by a non-existant +# references to the Nix store in the specified files by a non-existent # path (/nix/store/eeee...). This is useful for getting rid of # dependencies that you know are not actually needed at runtime. diff --git a/pkgs/build-support/pkg-config-wrapper/default.nix b/pkgs/build-support/pkg-config-wrapper/default.nix index 3a7616262c73..3f2ec688dd3d 100644 --- a/pkgs/build-support/pkg-config-wrapper/default.nix +++ b/pkgs/build-support/pkg-config-wrapper/default.nix @@ -80,7 +80,7 @@ stdenv.mkDerivation { # symlink in share for autoconf to find macros # TODO(@Ericson2314): in the future just make the unwrapped pkg-config a - # propagated dep once we can rely on downstream deps comming first in + # propagated dep once we can rely on downstream deps coming first in # search paths. (https://github.com/NixOS/nixpkgs/pull/31414 took a crack # at this.) + '' diff --git a/pkgs/build-support/release/default.nix b/pkgs/build-support/release/default.nix index 66aec1f74509..6ad860d4fac9 100644 --- a/pkgs/build-support/release/default.nix +++ b/pkgs/build-support/release/default.nix @@ -147,7 +147,7 @@ rec { /* Create a channel job which success depends on the success of all of its contituents. Channel jobs are a special type of jobs that are - listed in the channel tab of Hydra and that can be suscribed. + listed in the channel tab of Hydra and that can be subscribed. A tarball of the src attribute is distributed via the channel. - constituents: a list of derivations on which the channel success depends. diff --git a/pkgs/build-support/rust/build-rust-crate/log.nix b/pkgs/build-support/rust/build-rust-crate/log.nix index b1a07f1a9589..ef17b4d61dbb 100644 --- a/pkgs/build-support/rust/build-rust-crate/log.nix +++ b/pkgs/build-support/rust/build-rust-crate/log.nix @@ -13,7 +13,7 @@ let # This is more complicated than apparent at first sight # because: # * The color markers and the text must be print - # in the same echo statement. Otherise, other + # in the same echo statement. Otherwise, other # intermingled text from concurrent builds will # be colored as well. # * We need to preserve the trailing newline of the diff --git a/pkgs/build-support/rust/build-rust-crate/test/default.nix b/pkgs/build-support/rust/build-rust-crate/test/default.nix index fdfc8fdef01e..610222d2868a 100644 --- a/pkgs/build-support/rust/build-rust-crate/test/default.nix +++ b/pkgs/build-support/rust/build-rust-crate/test/default.nix @@ -589,7 +589,7 @@ rec { expectedTestOutputs = [ "test build_foo_check ... ok" ]; }; # Regression test for https://github.com/NixOS/nixpkgs/issues/74071 - # Whenevever a build.rs file is generating files those should not be overlayed onto the actual source dir + # Whenevever a build.rs file is generating files those should not be overlaid onto the actual source dir buildRsOutDirOverlay = { src = symlinkJoin { name = "buildrs-out-dir-overlay"; diff --git a/pkgs/build-support/rust/hooks/test/default.nix b/pkgs/build-support/rust/hooks/test/default.nix index 774f0ee54860..505c3edd577a 100644 --- a/pkgs/build-support/rust/hooks/test/default.nix +++ b/pkgs/build-support/rust/hooks/test/default.nix @@ -7,7 +7,7 @@ /* test each hook individually, to make sure that: - each hook works properly outside of buildRustPackage - - each hook is usable independantly from each other + - each hook is usable independently from each other */ cargoSetupHook = stdenv.mkDerivation { name = "test-cargoSetupHook"; diff --git a/pkgs/build-support/source-from-head-fun.nix b/pkgs/build-support/source-from-head-fun.nix index 51719682a5da..9ce5d54e9344 100644 --- a/pkgs/build-support/source-from-head-fun.nix +++ b/pkgs/build-support/source-from-head-fun.nix @@ -1,12 +1,12 @@ /* - purpose: mantain bleeding edge head sources. + purpose: maintain bleeding edge head sources. you run app --update app --publish to create source snapshots - The documentation is availible at https://github.com/MarcWeber/nix-repository-manager/raw/master/README + The documentation is available at https://github.com/MarcWeber/nix-repository-manager/raw/master/README */ { config }: localTarName: publishedSrcSnapshot: diff --git a/pkgs/build-support/testers/lychee.nix b/pkgs/build-support/testers/lychee.nix index 27ccfd7a7068..28395c9784f6 100644 --- a/pkgs/build-support/testers/lychee.nix +++ b/pkgs/build-support/testers/lychee.nix @@ -43,7 +43,7 @@ let nativeBuildInputs = [ finalAttrs.passthru.lychee ]; configFile = (formats.toml { }).generate "lychee.toml" finalAttrs.passthru.config; - # These can be overriden with overrideAttrs if needed. + # These can be overridden with overrideAttrs if needed. passthru = { inherit lychee remap; config = diff --git a/pkgs/build-support/trivial-builders/test/references/default.nix b/pkgs/build-support/trivial-builders/test/references/default.nix index bc9f8913e99a..df0366bf46ba 100644 --- a/pkgs/build-support/trivial-builders/test/references/default.nix +++ b/pkgs/build-support/trivial-builders/test/references/default.nix @@ -41,7 +41,7 @@ # -------------------------------------------------------------------------- # let - # Map each attribute to an element specification of Bash associative arrary + # Map each attribute to an element specification of Bash associative array # and concatenate them with white spaces, to be used to define a # one-line Bash associative array. samplesToString = diff --git a/pkgs/by-name/ae/aegisub/package.nix b/pkgs/by-name/ae/aegisub/package.nix index 5a9bdcd31787..114abcf5dd2b 100644 --- a/pkgs/by-name/ae/aegisub/package.nix +++ b/pkgs/by-name/ae/aegisub/package.nix @@ -141,7 +141,7 @@ stdenv.mkDerivation (finalAttrs: { built-in real-time video preview. ''; # The Aegisub sources are itself BSD/ISC, but they are linked against GPL'd - # softwares - so the resulting program will be GPL + # software - so the resulting program will be GPL license = with lib.licenses; [ bsd3 ]; diff --git a/pkgs/by-name/ap/appimagekit/package.nix b/pkgs/by-name/ap/appimagekit/package.nix index 8b7c20fed19b..9f5b5d10bf96 100644 --- a/pkgs/by-name/ap/appimagekit/package.nix +++ b/pkgs/by-name/ap/appimagekit/package.nix @@ -36,7 +36,7 @@ let fetchSubmodules = true; }; - # squashfuse adapted to nix from cmake experession in "${appimagekit_src}/lib/libappimage/cmake/dependencies.cmake" + # squashfuse adapted to nix from cmake expression in "${appimagekit_src}/lib/libappimage/cmake/dependencies.cmake" appimagekit_squashfuse = squashfuse.overrideAttrs rec { pname = "squashfuse"; version = "unstable-2016-10-09"; diff --git a/pkgs/by-name/av/avisynthplus/package.nix b/pkgs/by-name/av/avisynthplus/package.nix index 92904ff0cc01..41f5a2ac4fc3 100644 --- a/pkgs/by-name/av/avisynthplus/package.nix +++ b/pkgs/by-name/av/avisynthplus/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ - # Remove after next relaese + # Remove after next release (fetchpatch { name = "fix-absolute-path.patch"; url = "https://github.com/AviSynth/AviSynthPlus/commit/818983691e962ec3e590fcad07032f8a139a6b16.patch"; diff --git a/pkgs/by-name/bm/bmon/package.nix b/pkgs/by-name/bm/bmon/package.nix index 9f50559b3817..49dfc9e71fad 100644 --- a/pkgs/by-name/bm/bmon/package.nix +++ b/pkgs/by-name/bm/bmon/package.nix @@ -49,7 +49,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Network bandwidth monitor"; homepage = "https://github.com/tgraf/bmon"; - # Licensed unter BSD and MIT + # Licensed under BSD and MIT # - https://github.com/tgraf/bmon/blob/master/LICENSE.BSD # - https://github.com/tgraf/bmon/blob/master/LICENSE.MIT license = licenses.bsd2; diff --git a/pkgs/by-name/ca/castero/package.nix b/pkgs/by-name/ca/castero/package.nix index 2b08d81fba07..7e57f150c335 100644 --- a/pkgs/by-name/ca/castero/package.nix +++ b/pkgs/by-name/ca/castero/package.nix @@ -59,7 +59,7 @@ python3.pkgs.buildPythonApplication rec { export HOME=$(mktemp -d) ''; - # Satisfy the python-mpv depedency, which is mpv within NixOS + # Satisfy the python-mpv dependency, which is mpv within NixOS postPatch = '' substituteInPlace setup.py --replace-fail "python-mpv" "mpv" ''; diff --git a/pkgs/by-name/cl/clickable/package.nix b/pkgs/by-name/cl/clickable/package.nix index 0437aae99580..5b938f117a2a 100644 --- a/pkgs/by-name/cl/clickable/package.nix +++ b/pkgs/by-name/cl/clickable/package.nix @@ -65,7 +65,7 @@ python3Packages.buildPythonApplication rec { "test_godot_plugin" ] ++ - # There are no docker images available for the aarch64 architecutre + # There are no docker images available for the aarch64 architecture # which are required for tests. lib.optionals stdenv.hostPlatform.isAarch64 [ "test_arch" diff --git a/pkgs/by-name/cm/cmake/package.nix b/pkgs/by-name/cm/cmake/package.nix index 557fc4761922..717e3f90603f 100644 --- a/pkgs/by-name/cm/cmake/package.nix +++ b/pkgs/by-name/cm/cmake/package.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { }) ++ [ # Backport of https://gitlab.kitware.com/cmake/cmake/-/merge_requests/9900 - # Needed to corretly link curl in pkgsStatic. + # Needed to correctly link curl in pkgsStatic. ./008-FindCURL-Add-more-target-properties-from-pkg-config.diff ]; diff --git a/pkgs/by-name/cn/cnijfilter2/package.nix b/pkgs/by-name/cn/cnijfilter2/package.nix index b3a2e4f8afa6..2a25ed7b212e 100644 --- a/pkgs/by-name/cn/cnijfilter2/package.nix +++ b/pkgs/by-name/cn/cnijfilter2/package.nix @@ -39,7 +39,7 @@ stdenv.mkDerivation { ./patches/add_missing_import.patch ]; - # lgmon3's --enable-libdir flag is used soley for specifying in which + # lgmon3's --enable-libdir flag is used solely for specifying in which # directory the cnnnet.ini cache file should reside. # NixOS uses /var/cache/cups, and given the name, it seems like a reasonable # place to put the cnnet.ini file, and thus we do so. diff --git a/pkgs/by-name/co/colobot/package.nix b/pkgs/by-name/co/colobot/package.nix index 8ddbbe00998c..b18c003b63a1 100644 --- a/pkgs/by-name/co/colobot/package.nix +++ b/pkgs/by-name/co/colobot/package.nix @@ -60,7 +60,7 @@ stdenv.mkDerivation rec { enableParallelBuilding = false; - # The binary ends in games directoy + # The binary ends in games directory postInstall = '' mv $out/games $out/bin for contents in ${colobot-data}/share/games/colobot/*; do diff --git a/pkgs/by-name/cp/cpuinfo/package.nix b/pkgs/by-name/cp/cpuinfo/package.nix index 8a917697a4eb..f55460cb8a7a 100644 --- a/pkgs/by-name/cp/cpuinfo/package.nix +++ b/pkgs/by-name/cp/cpuinfo/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation (finalAttrs: { ]; # The tests check what CPU the host has and makes sure it can query information. - # not all build environments may have this information availaible. And, cpuinfo may + # not all build environments may have this information available. And, cpuinfo may # not understand all CPUs (causing test failures such as https://github.com/pytorch/cpuinfo/issues/132) # Instead, allow building in any environment. doCheck = false; diff --git a/pkgs/by-name/cs/csharp-ls/package.nix b/pkgs/by-name/cs/csharp-ls/package.nix index f0be6044acb2..995fc3d2bf64 100644 --- a/pkgs/by-name/cs/csharp-ls/package.nix +++ b/pkgs/by-name/cs/csharp-ls/package.nix @@ -35,7 +35,7 @@ buildDotnetGlobalTool rec { platforms = lib.platforms.unix; maintainers = with lib.maintainers; [ GaetanLepage ]; badPlatforms = [ - # Crashes immediatly at runtime + # Crashes immediately at runtime # terminated by signal SIGKILL (Forced quit) # https://github.com/razzmatazz/csharp-language-server/issues/211 "aarch64-darwin" diff --git a/pkgs/by-name/cs/csharprepl/package.nix b/pkgs/by-name/cs/csharprepl/package.nix index 427ca4c0e830..cdf3f59ea54b 100644 --- a/pkgs/by-name/cs/csharprepl/package.nix +++ b/pkgs/by-name/cs/csharprepl/package.nix @@ -10,7 +10,7 @@ buildDotnetGlobalTool { version = "0.6.7"; dotnet-sdk = dotnetCorePackages.sdk_8_0; - # We're using an SDK here because it's a REPL, and it requires an SDK instaed of a runtime + # We're using an SDK here because it's a REPL, and it requires an SDK instead of a runtime dotnet-runtime = dotnetCorePackages.sdk_8_0; nugetHash = "sha256-a0CiU3D6RZp1FF459NIUUry5TFRDgm4FRhqJZNAGYWs="; diff --git a/pkgs/by-name/de/devspace/package.nix b/pkgs/by-name/de/devspace/package.nix index 1a28a2992eb5..8df467210862 100644 --- a/pkgs/by-name/de/devspace/package.nix +++ b/pkgs/by-name/de/devspace/package.nix @@ -25,7 +25,7 @@ buildGoModule rec { "-X main.version=${version}" ]; - # Check are disable since they requiered a working K8S cluster + # Check are disable since they required a working K8S cluster # TODO: add a nixosTest to be able to perform the package check doCheck = false; diff --git a/pkgs/by-name/dj/djenrandom/package.nix b/pkgs/by-name/dj/djenrandom/package.nix index 2f955f7cd365..5a88117159ca 100644 --- a/pkgs/by-name/dj/djenrandom/package.nix +++ b/pkgs/by-name/dj/djenrandom/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation rec { with parameterized non uniformities and flexible output formats ''; license = lib.licenses.gpl2Only; - # djenrandom uses x86 specific instructions, therefore we can only compile for the x86 architechture + # djenrandom uses x86 specific instructions, therefore we can only compile for the x86 architecture platforms = lib.platforms.x86; maintainers = with lib.maintainers; [ orichter diff --git a/pkgs/by-name/dl/dleyna-connector-dbus/package.nix b/pkgs/by-name/dl/dleyna-connector-dbus/package.nix index 9d3ce402abf4..37ae59e83d99 100644 --- a/pkgs/by-name/dl/dleyna-connector-dbus/package.nix +++ b/pkgs/by-name/dl/dleyna-connector-dbus/package.nix @@ -22,7 +22,7 @@ stdenv.mkDerivation rec { }; patches = [ - # Fix build with meson 1.2. We use the gentoo patch intead of the + # Fix build with meson 1.2. We use the gentoo patch instead of the # usptream one because the latter only applies on the libsoup_3 based # merged dLeyna project. # https://gitlab.gnome.org/World/dLeyna/-/merge_requests/6 diff --git a/pkgs/by-name/dl/dleyna-renderer/package.nix b/pkgs/by-name/dl/dleyna-renderer/package.nix index 565e6519e6e1..99d6bd0c1216 100644 --- a/pkgs/by-name/dl/dleyna-renderer/package.nix +++ b/pkgs/by-name/dl/dleyna-renderer/package.nix @@ -30,7 +30,7 @@ stdenv.mkDerivation rec { }; patches = [ - # Fix build with meson 1.2. We use the gentoo patch intead of the + # Fix build with meson 1.2. We use the gentoo patch instead of the # usptream one because the latter only applies on the libsoup_3 based # merged dLeyna project. # https://gitlab.gnome.org/World/dLeyna/-/merge_requests/6 diff --git a/pkgs/by-name/dl/dleyna-server/package.nix b/pkgs/by-name/dl/dleyna-server/package.nix index cbaf5e1e2667..6850d3d8200c 100644 --- a/pkgs/by-name/dl/dleyna-server/package.nix +++ b/pkgs/by-name/dl/dleyna-server/package.nix @@ -28,7 +28,7 @@ stdenv.mkDerivation rec { }; patches = [ - # Fix build with meson 1.2. We use the gentoo patch intead of the + # Fix build with meson 1.2. We use the gentoo patch instead of the # usptream one because the latter only applies on the libsoup_3 based # merged dLeyna project. # https://gitlab.gnome.org/World/dLeyna/-/merge_requests/6 diff --git a/pkgs/by-name/ds/dsniff/package.nix b/pkgs/by-name/ds/dsniff/package.nix index 088405f92c47..8299840df458 100644 --- a/pkgs/by-name/ds/dsniff/package.nix +++ b/pkgs/by-name/ds/dsniff/package.nix @@ -18,7 +18,7 @@ let /* - dsniff's build system unconditionnaly wants static libraries and does not + dsniff's build system unconditionally wants static libraries and does not support multi output derivations. We do some overriding to give it satisfaction. */ diff --git a/pkgs/by-name/du/duckstation/sources.nix b/pkgs/by-name/du/duckstation/sources.nix index 701499ea28f6..228bcbc2aaba 100644 --- a/pkgs/by-name/du/duckstation/sources.nix +++ b/pkgs/by-name/du/duckstation/sources.nix @@ -25,7 +25,7 @@ # Some files are filled by using Git commands; it requires deepClone. # More info at `checkout_ref` function in nix-prefetch-git. # However, `.git` is a bit nondeterministic (and Git itself makes no - # guarrantees whatsoever). + # guarantees whatsoever). # Then, in order to enhance reproducibility, what we will do here is: # # - Execute the desired Git commands; diff --git a/pkgs/by-name/du/dumpasn1/package.nix b/pkgs/by-name/du/dumpasn1/package.nix index e3314ff389fc..960a5aa5ae54 100644 --- a/pkgs/by-name/du/dumpasn1/package.nix +++ b/pkgs/by-name/du/dumpasn1/package.nix @@ -19,7 +19,7 @@ stdenv.mkDerivation (finalAttrs: { makeFlags = [ "prefix=$(out)" ]; patches = [ - # Allow adding a config file path during build via makro. + # Allow adding a config file path during build via macro. # Used to add the store path of the included config file through CFLAGS. # This won't be merged upstream. ./configpath.patch diff --git a/pkgs/by-name/ed/edopro/package.nix b/pkgs/by-name/ed/edopro/package.nix index f77e13b18949..ba6cc7c6ae76 100644 --- a/pkgs/by-name/ed/edopro/package.nix +++ b/pkgs/by-name/ed/edopro/package.nix @@ -301,7 +301,7 @@ symlinkJoin { platforms maintainers ; - # To differenciate it from the original YGOPro + # To differentiate it from the original YGOPro mainProgram = "edopro"; }; } diff --git a/pkgs/by-name/en/envision/package.nix b/pkgs/by-name/en/envision/package.nix index d48df7666f52..794ce30a59bd 100644 --- a/pkgs/by-name/en/envision/package.nix +++ b/pkgs/by-name/en/envision/package.nix @@ -14,7 +14,7 @@ buildFHSEnv { strictDeps = true; - # TODO: I'm pretty suspicious of this list of additonal required dependencies. Are they all really needed? + # TODO: I'm pretty suspicious of this list of additional required dependencies. Are they all really needed? targetPkgs = pkgs: [ pkgs.envision-unwrapped ] diff --git a/pkgs/by-name/ep/epson-escpr2/package.nix b/pkgs/by-name/ep/epson-escpr2/package.nix index 55e7f9974a55..a06ecf6487b7 100644 --- a/pkgs/by-name/ep/epson-escpr2/package.nix +++ b/pkgs/by-name/ep/epson-escpr2/package.nix @@ -15,7 +15,7 @@ stdenv.mkDerivation rec { src = fetchurl { # To find the most recent version go to # https://support.epson.net/linux/Printer/LSB_distribution_pages/en/escpr2.php - # and retreive the download link for source package for x86 CPU + # and retrieve the download link for source package for x86 CPU url = "https://download3.ebz.epson.net/dsc/f/03/00/16/65/06/8fdecc271f6473178d08ffd6b6f6ca2abc92e32f/epson-inkjet-printer-escpr2-1.2.26-1.src.rpm"; sha256 = "sha256-Js2iZCS9ZzJVRF8PbDA/U1muOne+upq4sA0u+NVIk/0="; }; diff --git a/pkgs/by-name/es/esdm/package.nix b/pkgs/by-name/es/esdm/package.nix index f99227535c51..176bdf1a07fc 100644 --- a/pkgs/by-name/es/esdm/package.nix +++ b/pkgs/by-name/es/esdm/package.nix @@ -13,7 +13,7 @@ openssl, libkcapi, - # A more detailed explaination of the following meson build options can be found + # A more detailed explanation of the following meson build options can be found # in the source code of esdm. # A brief explanation is given. diff --git a/pkgs/by-name/fl/flottbot/package.nix b/pkgs/by-name/fl/flottbot/package.nix index 3257c2a421ac..c9deec95bf34 100644 --- a/pkgs/by-name/fl/flottbot/package.nix +++ b/pkgs/by-name/fl/flottbot/package.nix @@ -17,7 +17,7 @@ buildGoModule rec { }; patches = [ - # patch out debug.ReadBuidlInfo since version information is not available with buildGoModule + # patch out debug.ReadBuildInfo since version information is not available with buildGoModule (replaceVars ./version.patch { version = version; vcsHash = version; # Maybe there is a way to get the git ref from src? idk. diff --git a/pkgs/by-name/fo/fontforge/package.nix b/pkgs/by-name/fo/fontforge/package.nix index efe02f87dfcb..86d50584db48 100644 --- a/pkgs/by-name/fo/fontforge/package.nix +++ b/pkgs/by-name/fo/fontforge/package.nix @@ -88,7 +88,7 @@ stdenv.mkDerivation rec { sed -r -i 's#sprintf\(.+ author \);#if (!getenv("SOURCE_DATE_EPOCH")) &#g' fontforgeexe/fontinfo.c ''; - # do not use x87's 80-bit arithmetic, rouding errors result in very different font binaries + # do not use x87's 80-bit arithmetic, rounding errors result in very different font binaries env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isi686 "-msse2 -mfpmath=sse"; nativeBuildInputs = [ diff --git a/pkgs/by-name/fo/foomatic-db/package.nix b/pkgs/by-name/fo/foomatic-db/package.nix index 0c6763508411..da5d1edae061 100644 --- a/pkgs/by-name/fo/foomatic-db/package.nix +++ b/pkgs/by-name/fo/foomatic-db/package.nix @@ -55,7 +55,7 @@ stdenv.mkDerivation (finalAttrs: { ./make_configure ''; - # don't let the intaller gzip ppd files as we would + # don't let the installer gzip ppd files as we would # have to unzip them later in order to patch them configureFlags = [ "--disable-gzip-ppds" ]; diff --git a/pkgs/by-name/fo/fork-cleaner/package.nix b/pkgs/by-name/fo/fork-cleaner/package.nix index dbeee75f0068..3ccc31f2d3e7 100644 --- a/pkgs/by-name/fo/fork-cleaner/package.nix +++ b/pkgs/by-name/fo/fork-cleaner/package.nix @@ -19,7 +19,7 @@ buildGoModule { vendorHash = "sha256-QuIaXXkch5PCpX8P755X8j7MeNnbewWo7NB+Vue1/Pk="; - # allowGoRefence adds the flag `-trimpath` which is also denoted by, fork-cleaner goreleaser config + # allowGoReference adds the flag `-trimpath` which is also denoted by, fork-cleaner goreleaser config # allowGoReference = true; diff --git a/pkgs/by-name/fr/frozen/package.nix b/pkgs/by-name/fr/frozen/package.nix index 9ea5d64ed289..06f38a00e0b7 100644 --- a/pkgs/by-name/fr/frozen/package.nix +++ b/pkgs/by-name/fr/frozen/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { # Since it has only two source files, the best course of action to support # cross compilation is to create a small meson.build file. # Relevant upstream issue: https://github.com/cesanta/frozen/pull/71 - # We also remove the GN BUILD file to prevent conflicts on case-insesitive + # We also remove the GN BUILD file to prevent conflicts on case-insensitive # file systems. preConfigure = '' rm BUILD diff --git a/pkgs/by-name/fu/fulcio/package.nix b/pkgs/by-name/fu/fulcio/package.nix index 9ed5943cdfea..2b375496b83e 100644 --- a/pkgs/by-name/fu/fulcio/package.nix +++ b/pkgs/by-name/fu/fulcio/package.nix @@ -3,7 +3,7 @@ buildGoModule, fetchFromGitHub, - # required for completion and cross-complilation + # required for completion and cross-compilation installShellFiles, buildPackages, stdenv, diff --git a/pkgs/by-name/gi/git-pw/package.nix b/pkgs/by-name/gi/git-pw/package.nix index ba2a02d6c000..cf9bce02d574 100644 --- a/pkgs/by-name/gi/git-pw/package.nix +++ b/pkgs/by-name/gi/git-pw/package.nix @@ -40,7 +40,7 @@ python3.pkgs.buildPythonApplication rec { git ]; - # This is needed because `git-pw` always rely on an ambiant git. + # This is needed because `git-pw` always rely on an ambient git. # Furthermore, this doesn't really make sense to resholve git inside this derivation. # As `testVersion` does not offer the right knob, we can just `overrideAttrs`-it ourselves. passthru.tests.version = (testers.testVersion { package = git-pw; }).overrideAttrs (old: { diff --git a/pkgs/by-name/gn/gnupth/package.nix b/pkgs/by-name/gn/gnupth/package.nix index 0f105195f057..6c76ea2dd7d2 100644 --- a/pkgs/by-name/gn/gnupth/package.nix +++ b/pkgs/by-name/gn/gnupth/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { configureFlagsArray+=("ac_cv_check_sjlj=ssjlj") ''; - # Fails parallel build due to missing dependency on autogenrated + # Fails parallel build due to missing dependency on autogenerated # 'pth_p.h' file: # ./shtool scpp -o pth_p.h ... # ./libtool --mode=compile --quiet gcc -c -I. -O2 -pipe pth_uctx.c diff --git a/pkgs/by-name/gn/gnuradioMinimal/package.nix b/pkgs/by-name/gn/gnuradioMinimal/package.nix index 7d52dd744c96..f0e3c01b1e55 100644 --- a/pkgs/by-name/gn/gnuradioMinimal/package.nix +++ b/pkgs/by-name/gn/gnuradioMinimal/package.nix @@ -3,7 +3,7 @@ volk, uhdMinimal, }: -# A build without gui components and other utilites not needed for end user +# A build without gui components and other utilities not needed for end user # libraries gnuradio.override { doWrap = false; @@ -24,7 +24,7 @@ gnuradio.override { sphinx = false; doxygen = false; # Doesn't make it reference python eventually, but makes reverse - # depdendencies require python to use cmake files of GR. + # dependencies require python to use cmake files of GR. gr-ctrlport = false; }; }; diff --git a/pkgs/by-name/gp/gparted/package.nix b/pkgs/by-name/gp/gparted/package.nix index 06d4651b4782..6fd2daa147b2 100644 --- a/pkgs/by-name/gp/gparted/package.nix +++ b/pkgs/by-name/gp/gparted/package.nix @@ -90,7 +90,7 @@ stdenv.mkDerivation rec { ) ''; - # Doesn't get installed automaticallly if PREFIX != /usr + # Doesn't get installed automatically if PREFIX != /usr postInstall = '' install -D -m0644 org.gnome.gparted.policy \ $out/share/polkit-1/actions/org.gnome.gparted.policy diff --git a/pkgs/by-name/gr/graphicsmagick/package.nix b/pkgs/by-name/gr/graphicsmagick/package.nix index fd600399b1d2..427f37b2c8f5 100644 --- a/pkgs/by-name/gr/graphicsmagick/package.nix +++ b/pkgs/by-name/gr/graphicsmagick/package.nix @@ -72,7 +72,7 @@ stdenv.mkDerivation (finalAttrs: { ]; # Remove CFLAGS from the binaries to avoid closure bloat. - # In the past we have had -dev packages in the closure of the binaries soley + # In the past we have had -dev packages in the closure of the binaries solely # due to the string references. postConfigure = '' nuke-refs -e $out ./magick/magick_config.h diff --git a/pkgs/by-name/ha/hap-py/package.nix b/pkgs/by-name/ha/hap-py/package.nix index d953de197b31..301b4b3faf35 100644 --- a/pkgs/by-name/ha/hap-py/package.nix +++ b/pkgs/by-name/ha/hap-py/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { # For illumina script BOOST_ROOT = "${boost.out}"; ZLIBSTATIC = "${zlib.static}"; - # For cmake : boost lib and includedir are in differernt location + # For cmake : boost lib and includedir are in different location BOOST_LIBRARYDIR = "${boost.out}/lib"; BOOST_INCLUDEDIR = "${boost.dev}/include"; diff --git a/pkgs/by-name/ha/haunt/package.nix b/pkgs/by-name/ha/haunt/package.nix index 963a51068b66..addfc59018a0 100644 --- a/pkgs/by-name/ha/haunt/package.nix +++ b/pkgs/by-name/ha/haunt/package.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation (finalAttrs: { guile-reader ]; - # Test suite is non-determinisitic in later versions + # Test suite is non-deterministic in later versions doCheck = false; postInstall = '' diff --git a/pkgs/by-name/hd/hdos/package.nix b/pkgs/by-name/hd/hdos/package.nix index 9737d12d273d..2bc26b636859 100644 --- a/pkgs/by-name/hd/hdos/package.nix +++ b/pkgs/by-name/hd/hdos/package.nix @@ -3,7 +3,7 @@ stdenvNoCC, fetchurl, makeWrapper, - # TODO: for jre 17+, we'll need a workaroud: + # TODO: for jre 17+, we'll need a workaround: # https://gitlab.com/hdos/issues/-/issues/2004 openjdk11, makeDesktopItem, diff --git a/pkgs/by-name/ho/homebox/package.nix b/pkgs/by-name/ho/homebox/package.nix index 5c938806ec76..9b1e0be75ed4 100644 --- a/pkgs/by-name/ho/homebox/package.nix +++ b/pkgs/by-name/ho/homebox/package.nix @@ -25,7 +25,7 @@ buildGo123Module { vendorHash = "sha256-Zo/yI1mNeN0O9gZsHux6aOzBlv72h17s7QNO+MaG2/g="; modRoot = "backend"; # the goModules derivation inherits our buildInputs and buildPhases - # Since we do pnpm thing in those it fails if we don't explicitely remove them + # Since we do pnpm thing in those it fails if we don't explicitly remove them overrideModAttrs = _: { nativeBuildInputs = [ go_1_23 diff --git a/pkgs/by-name/hy/hydrapaper/package.nix b/pkgs/by-name/hy/hydrapaper/package.nix index 6935eece8a3d..040e5acb05fc 100644 --- a/pkgs/by-name/hy/hydrapaper/package.nix +++ b/pkgs/by-name/hy/hydrapaper/package.nix @@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec { pillow ]; - # wrapGAppsHook4 propogates gtk4 -- which provides gtk4-update-icon-cache instead + # wrapGAppsHook4 propagates gtk4 -- which provides gtk4-update-icon-cache instead postPatch = '' substituteInPlace meson_post_install.py \ --replace-fail gtk-update-icon-cache gtk4-update-icon-cache diff --git a/pkgs/by-name/ic/iconpack-obsidian/package.nix b/pkgs/by-name/ic/iconpack-obsidian/package.nix index 86ff31786e04..b8aa25969c81 100644 --- a/pkgs/by-name/ic/iconpack-obsidian/package.nix +++ b/pkgs/by-name/ic/iconpack-obsidian/package.nix @@ -26,7 +26,7 @@ stdenvNoCC.mkDerivation rec { mint-x-icons hicolor-icon-theme ]; - # still missing parent themes: Ambiant-MATE, Faenza-Dark, KFaenza + # still missing parent themes: Ambient-MATE, Faenza-Dark, KFaenza dontDropIconThemeCache = true; diff --git a/pkgs/by-name/jo/jogl/package.nix b/pkgs/by-name/jo/jogl/package.nix index 5614e73ba0cd..7c66b8996345 100644 --- a/pkgs/by-name/jo/jogl/package.nix +++ b/pkgs/by-name/jo/jogl/package.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation { substituteInPlace jogl/make/build-*.xml \ --replace-warn 'dir="''${TARGET_PLATFORM_USRLIBS}"' "" '' - # force way to do disfunctional "ant -Dsetup.addNativeBroadcom=false" and disable dependency on raspberrypi drivers + # force way to do dysfunctional "ant -Dsetup.addNativeBroadcom=false" and disable dependency on raspberrypi drivers # if arm/aarch64 support will be added, this block might be commented out on those platforms # on x86 compiling with default "setup.addNativeBroadcom=true" leads to unsatisfied import "vc_dispmanx_resource_delete" in libnewt.so + '' diff --git a/pkgs/by-name/ki/kinect-audio-setup/package.nix b/pkgs/by-name/ki/kinect-audio-setup/package.nix index 5534ceb497ce..cf4f9a0ada0b 100644 --- a/pkgs/by-name/ki/kinect-audio-setup/package.nix +++ b/pkgs/by-name/ki/kinect-audio-setup/package.nix @@ -10,7 +10,7 @@ let # The last known good firmware package to have been tested - # by the upstream projet. + # by the upstream project. # The firmware URL is hardcoded in the upstream project's installation script firmwareUrl = "https://download.microsoft.com/download/F/9/9/F99791F2-D5BE-478A-B77A-830AD14950C3/KinectSDK-v1.0-beta2-x86.msi"; # The original URL "https://research.microsoft.com/en-us/um/legal/kinectsdk-tou_noncommercial.htm" diff --git a/pkgs/by-name/ld/ld64/package.nix b/pkgs/by-name/ld/ld64/package.nix index 8eefeea6d768..3e590bb5e67e 100644 --- a/pkgs/by-name/ld/ld64/package.nix +++ b/pkgs/by-name/ld/ld64/package.nix @@ -137,7 +137,7 @@ stdenv.mkDerivation (finalAttrs: { dontUseCmakeConfigure = true; # CMake is only needed because it’s used by Meson to find LLVM. # Note for overrides: ld64 cannot be built as a debug build because of UB in its iteration implementations, - # which trigger libc++ debug assertions due to trying to take the address of the first element of an emtpy vector. + # which trigger libc++ debug assertions due to trying to take the address of the first element of an empty vector. mesonBuildType = "release"; mesonFlags = [ diff --git a/pkgs/by-name/ld/ldmtool/package.nix b/pkgs/by-name/ld/ldmtool/package.nix index 19495696c14c..23c522c6e831 100644 --- a/pkgs/by-name/ld/ldmtool/package.nix +++ b/pkgs/by-name/ld/ldmtool/package.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { }; patches = [ - # Remove useage of deprecrated G_PARAM_PRIVATE + # Remove usage of deprecrated G_PARAM_PRIVATE (fetchpatch { url = "https://github.com/mdbooth/libldm/commit/ee1b37a034038f09d61b121cc8b3651024acc46f.patch"; sha256 = "02y34kbcpcpffvy1n9yqngvdldmxmvdkha1v2xjqvrnclanpigcp"; diff --git a/pkgs/by-name/le/lensfun/package.nix b/pkgs/by-name/le/lensfun/package.nix index 0172b7230483..c6d058c55b67 100644 --- a/pkgs/by-name/le/lensfun/package.nix +++ b/pkgs/by-name/le/lensfun/package.nix @@ -38,7 +38,7 @@ stdenv.mkDerivation { # replace database with a more recent snapshot # the master branch uses version 2 profiles, while 0.3.3 requires version 1 profiles, # so we run the conversion tool the project provides, - # then untar the verson 1 profiles into the source dir before we build + # then untar the version 1 profiles into the source dir before we build prePatch = '' rm -R data/db python3 ${lensfunDatabase}/tools/lensfun_convert_db_v2_to_v1.py $TMPDIR ${lensfunDatabase}/data/db diff --git a/pkgs/by-name/li/libation/package.nix b/pkgs/by-name/li/libation/package.nix index 2b933502d2a7..131574187409 100644 --- a/pkgs/by-name/li/libation/package.nix +++ b/pkgs/by-name/li/libation/package.nix @@ -56,7 +56,7 @@ buildDotnetModule rec { --replace-fail "/usr/bin/libation" "${meta.mainProgram}" ''; - # wrap manually, because we need lower case excutables + # wrap manually, because we need lower case executables dontDotnetFixup = true; preFixup = '' diff --git a/pkgs/by-name/li/libgpg-error/package.nix b/pkgs/by-name/li/libgpg-error/package.nix index dec30fe9d0d4..9f90233e996a 100644 --- a/pkgs/by-name/li/libgpg-error/package.nix +++ b/pkgs/by-name/li/libgpg-error/package.nix @@ -50,7 +50,7 @@ in stdenv.mkDerivation (rec { lib.optionalString stdenv.hostPlatform.isSunOS '' ${stdenv.shell} config.status '' - # ./configure errorneous decides to use weak symbols on pkgsStatic, + # ./configure erroneous decides to use weak symbols on pkgsStatic, # which, together with other defines results in locking functions in # src/posix-lock.c to be no-op, causing tests/t-lock.c to fail. + lib.optionalString stdenv.hostPlatform.isStatic '' diff --git a/pkgs/by-name/li/libloot/package.nix b/pkgs/by-name/li/libloot/package.nix index 243d68d8dc69..85b80c91a0e5 100644 --- a/pkgs/by-name/li/libloot/package.nix +++ b/pkgs/by-name/li/libloot/package.nix @@ -98,7 +98,7 @@ stdenv.mkDerivation (finalAttrs: { env.GTEST_FILTER = let disabledTests = [ - # Some locale releated tests fail because they need the LOCALE_ARCHIVE env var to be set to "${glibcLocales}/lib/locale/locale-archive" + # Some locale related tests fail because they need the LOCALE_ARCHIVE env var to be set to "${glibcLocales}/lib/locale/locale-archive" # Due to storage size concerns of `glibcLocales`, we skip this "CompareFilenames.shouldBeCaseInsensitiveAndLocaleInvariant" "NormalizeFilename.shouldCaseFoldStringsAndBeLocaleInvariant" diff --git a/pkgs/by-name/li/litehtml/package.nix b/pkgs/by-name/li/litehtml/package.nix index f5029dc9b27f..d111b8dd538c 100644 --- a/pkgs/by-name/li/litehtml/package.nix +++ b/pkgs/by-name/li/litehtml/package.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-ZE/HKzo3ejKpW/ih3sJwn2hzCtsBhAXeJWGezYd6Yc4"; }; - # Don't search for non-existant gumbo cmake config + # Don't search for non-existent gumbo cmake config # This will mislead cmake that litehtml is not found # Affects build of pkgs that depend on litehtml postPatch = '' diff --git a/pkgs/by-name/lo/local-ai/package.nix b/pkgs/by-name/lo/local-ai/package.nix index 17a7aa5d6a84..d1517bc690f3 100644 --- a/pkgs/by-name/lo/local-ai/package.nix +++ b/pkgs/by-name/lo/local-ai/package.nix @@ -579,7 +579,7 @@ let runHook postInstall ''; - # patching rpath with patchelf doens't work. The execuable + # patching rpath with patchelf doens't work. The executable # raises an segmentation fault postFixup = let diff --git a/pkgs/by-name/lo/looking-glass-client/package.nix b/pkgs/by-name/lo/looking-glass-client/package.nix index 973ca6ce4a0a..fee839c35392 100644 --- a/pkgs/by-name/lo/looking-glass-client/package.nix +++ b/pkgs/by-name/lo/looking-glass-client/package.nix @@ -64,7 +64,7 @@ stdenv.mkDerivation (finalAttrs: { }; patches = [ - # Fix failing cmake assertion when disabling X11 whithout explicitly enabling Wayland. + # Fix failing cmake assertion when disabling X11 without explicitly enabling Wayland. (fetchpatch { url = "https://github.com/gnif/LookingGlass/commit/20972cfd9b940fddf9e7f3d2887a271d16398979.patch"; hash = "sha256-CqB8AmOZ4YxnEsQkyu/ZEaun6ywpSh4B7PM+MFJF0qU="; diff --git a/pkgs/by-name/lp/LPCNet/package.nix b/pkgs/by-name/lp/LPCNet/package.nix index 0d94114f4e6d..351e51118cb5 100644 --- a/pkgs/by-name/lp/LPCNet/package.nix +++ b/pkgs/by-name/lp/LPCNet/package.nix @@ -20,7 +20,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-tHZLKXmuM86A6OpfS3CRRjhFbqj1Q/w1w56msdgLHb0="; }; passthru = { - # Prebuilt neural network model that is needed during the build - can be overrwritten + # Prebuilt neural network model that is needed during the build - can be overwritten nnmodel = fetchurl { url = "http://rowetel.com/downloads/deep/lpcnet_191005_v1.0.tgz"; hash = "sha256-UJRAkkdR/dh/+qVoPuPd3ZN69cgzuRBMzOZdUWFJJsg="; diff --git a/pkgs/by-name/ma/maa-cli/package.nix b/pkgs/by-name/ma/maa-cli/package.nix index 7fe8b446c6e2..81582f831eef 100644 --- a/pkgs/by-name/ma/maa-cli/package.nix +++ b/pkgs/by-name/ma/maa-cli/package.nix @@ -47,7 +47,7 @@ rustPlatform.buildRustPackage rec { useFetchCargoVendor = true; cargoHash = "sha256-FjPvjlAq3Xj2WTRvzvhZ87CaUjhJf9R1VDUs+XQchtU="; - # maa-cli would only seach libMaaCore.so and resources in itself's path + # maa-cli would only search libMaaCore.so and resources in itself's path # https://github.com/MaaAssistantArknights/maa-cli/issues/67 postInstall = '' diff --git a/pkgs/by-name/ma/matlab-language-server/package.nix b/pkgs/by-name/ma/matlab-language-server/package.nix index c65764750573..8a8b47900c58 100644 --- a/pkgs/by-name/ma/matlab-language-server/package.nix +++ b/pkgs/by-name/ma/matlab-language-server/package.nix @@ -12,7 +12,7 @@ buildNpmPackage { src = fetchFromGitHub { owner = "mathworks"; repo = "matlab-language-server"; - # Upstream doesn't tag commits unfortunatly, but lists versions and dates + # Upstream doesn't tag commits unfortunately, but lists versions and dates # in README... See complaint at: # https://github.com/mathworks/MATLAB-language-server/issues/24 rev = "c8c901956e3bbfbd6eab440a1b60c3fe016cf567"; diff --git a/pkgs/by-name/me/mealie/package.nix b/pkgs/by-name/me/mealie/package.nix index 20ebeef2a94b..5d0c08933aae 100644 --- a/pkgs/by-name/me/mealie/package.nix +++ b/pkgs/by-name/me/mealie/package.nix @@ -56,7 +56,7 @@ pythonpkgs.buildPythonApplication rec { pythonRelaxDeps = true; patches = [ - # compatiblity with openai 1.63.0 + # compatibility with openai 1.63.0 ./0000_openai_1.63.0.patch ]; diff --git a/pkgs/by-name/me/megapixels/package.nix b/pkgs/by-name/me/megapixels/package.nix index e64b018136c2..2bc12b537c87 100644 --- a/pkgs/by-name/me/megapixels/package.nix +++ b/pkgs/by-name/me/megapixels/package.nix @@ -65,7 +65,7 @@ stdenv.mkDerivation (finalAttrs: { patches = [ # In the settings menu of Megapixels the user can select a different postprocessing script. The path to the script is then stored in a dconf setting. If the path changes, for example because it is in the Nix store and a dependency of the postprocessor changes, Megapixels will try to use this now non-existing old path. This will cause Megapixels to not save any images that were taken until the user opens the settings again and selects a postprocessor again. Using a global path allows the setting to keep working. - # Note that this patch only fixes the issue for external postprocessors like postprocessd but the postprocessor script that comes with Megapixels is still refered to by the Nix store path. + # Note that this patch only fixes the issue for external postprocessors like postprocessd but the postprocessor script that comes with Megapixels is still referred to by the Nix store path. ./search-for-postprocessors-in-NixOS-specific-global-location.patch ]; diff --git a/pkgs/by-name/mm/mmark/package.nix b/pkgs/by-name/mm/mmark/package.nix index 93a86bf61f14..1c2c7c85f626 100644 --- a/pkgs/by-name/mm/mmark/package.nix +++ b/pkgs/by-name/mm/mmark/package.nix @@ -13,7 +13,7 @@ buildGoModule rec { src = fetchFromGitHub { owner = "mmarkdown"; repo = "mmark"; - # The tag has an outdated version number and fails the versio ntest + # The tag has an outdated version number and fails the version ntest # The pinned revision includes one extra commit that fixes the issue # rev = "v${version}"; rev = "158e9cca0280c58e205cb69b02bf33d7d826915e"; diff --git a/pkgs/by-name/mu/mujoco/package.nix b/pkgs/by-name/mu/mujoco/package.nix index afbb18e0c79c..e947a79ba881 100644 --- a/pkgs/by-name/mu/mujoco/package.nix +++ b/pkgs/by-name/mu/mujoco/package.nix @@ -118,7 +118,7 @@ let buildInputs = [ pin.tmd - # Mainline. The otherwise pinned glm realease from 2018 does + # Mainline. The otherwise pinned glm release from 2018 does # not build due to test failures and missing files. glm diff --git a/pkgs/by-name/na/nautilus-open-in-blackbox/package.nix b/pkgs/by-name/na/nautilus-open-in-blackbox/package.nix index c43a9505de9f..4fcd165946c2 100644 --- a/pkgs/by-name/na/nautilus-open-in-blackbox/package.nix +++ b/pkgs/by-name/na/nautilus-open-in-blackbox/package.nix @@ -16,7 +16,7 @@ stdenv.mkDerivation rec { hash = "sha256-5rvh3qNalpjamcBVQrnAW6GxhwPPlRxP5h045YDqvrM="; }; - # The Orignal Source code tries to execute `/usr/bin/blackbox` which is not valid in NixOS + # The original source code tries to execute `/usr/bin/blackbox` which is not valid in NixOS # This patch replaces the call with `blackbox` patches = [ ./paths.patch ]; diff --git a/pkgs/by-name/ne/nextcloud-client/package.nix b/pkgs/by-name/ne/nextcloud-client/package.nix index 5c5090561b8e..b9de20df76ac 100644 --- a/pkgs/by-name/ne/nextcloud-client/package.nix +++ b/pkgs/by-name/ne/nextcloud-client/package.nix @@ -73,7 +73,7 @@ stdenv.mkDerivation rec { qtWrapperArgs = [ "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libsecret ]}" - # make xdg-open overrideable at runtime + # make xdg-open overridable at runtime "--suffix PATH : ${lib.makeBinPath [ xdg-utils ]}" ]; diff --git a/pkgs/by-name/no/nomad-driver-containerd/package.nix b/pkgs/by-name/no/nomad-driver-containerd/package.nix index e6717bfd1201..6f56e85b83f9 100644 --- a/pkgs/by-name/no/nomad-driver-containerd/package.nix +++ b/pkgs/by-name/no/nomad-driver-containerd/package.nix @@ -29,7 +29,7 @@ buildGoModule rec { }) ]; - # replace version in file as it's defined using const, and thus cannot be overriden by ldflags + # replace version in file as it's defined using const, and thus cannot be overridden by ldflags postPatch = '' substituteInPlace containerd/driver.go --replace-warn 'PluginVersion = "v0.9.3"' 'PluginVersion = "v${version}"' ''; diff --git a/pkgs/by-name/nu/nuclear/package.nix b/pkgs/by-name/nu/nuclear/package.nix index 268955c6a10d..dddac219c269 100644 --- a/pkgs/by-name/nu/nuclear/package.nix +++ b/pkgs/by-name/nu/nuclear/package.nix @@ -8,7 +8,7 @@ let version = "0.6.42"; src = fetchurl { - # Nuclear currenntly only publishes AppImage releases for x86_64, which is hardcoded in + # Nuclear currently only publishes AppImage releases for x86_64, which is hardcoded in # the package name. We also hardcode the host arch in the release name, but should upstream # provide more arches, we should use stdenv.hostPlatform to determine the arch and choose # source URL accordingly. diff --git a/pkgs/by-name/nv/nvidia-container-toolkit/packages.nix b/pkgs/by-name/nv/nvidia-container-toolkit/packages.nix index b8f6e2648ed6..5e46502367ee 100644 --- a/pkgs/by-name/nv/nvidia-container-toolkit/packages.nix +++ b/pkgs/by-name/nv/nvidia-container-toolkit/packages.nix @@ -8,7 +8,7 @@ lib.makeScope newScope (self: { # The config is only exposed as an attrset so that the user may reach the - # deafult values, for inspectability purposes. + # default values, for inspectability purposes. dockerConfig = { disable-require = false; #swarm-resource = "DOCKER_RESOURCE_GPU" diff --git a/pkgs/by-name/op/open-english-wordnet/package.nix b/pkgs/by-name/op/open-english-wordnet/package.nix index 47522d7b7829..20f830ea4c90 100644 --- a/pkgs/by-name/op/open-english-wordnet/package.nix +++ b/pkgs/by-name/op/open-english-wordnet/package.nix @@ -28,7 +28,7 @@ stdenvNoCC.mkDerivation (self: { } ) { - # Upstream commit bumping the version number, accidentally ommited from the tagged release + # Upstream commit bumping the version number, accidentally omitted from the tagged release "bc07902f8995b62c70f01a282b23f40f30630540" = "sha256-1e4MG/k86g3OFUhiShCCbNXnvDKrYFr1KlGVsGl++KI="; # PR #982, “merge.py: Make result independent of filesystem order” "6da46a48dd76a48ad9ff563e6c807b8271fc83cd" = "sha256-QkkJH7NVGy/IbeSWkotU80IGF4esz0b8mIL9soHdQtQ="; diff --git a/pkgs/by-name/op/openbox/package.nix b/pkgs/by-name/op/openbox/package.nix index 17587abb9bc5..306cdd851948 100644 --- a/pkgs/by-name/op/openbox/package.nix +++ b/pkgs/by-name/op/openbox/package.nix @@ -70,7 +70,7 @@ stdenv.mkDerivation rec { }) # Fix crash with GLib 2.76. This is proposed on https://bugzilla.icculus.org/show_bug.cgi?id=6669 - # and commited to a work branch in the upstream repo. See https://bugs.archlinux.org/task/77853. + # and committed to a work branch in the upstream repo. See https://bugs.archlinux.org/task/77853. (fetchpatch { url = "https://github.com/Mikachu/openbox/commit/d41128e5a1002af41c976c8860f8299cfcd3cd72.patch"; sha256 = "sha256-4/aoI4y98JPybZ1MNI7egOhkroQgh/oeGnYrhNGX4t4="; diff --git a/pkgs/by-name/op/openmm/package.nix b/pkgs/by-name/op/openmm/package.nix index a570659ec290..802fdb101faa 100644 --- a/pkgs/by-name/op/openmm/package.nix +++ b/pkgs/by-name/op/openmm/package.nix @@ -29,7 +29,7 @@ stdenv.mkDerivation rec { hash = "sha256-p0zjr8ONqGK4Vbnhljt16DeyeZ0bR1kE+YdiIlw/1L0="; }; - # "This test is stochastic and may occassionally fail". It does. + # "This test is stochastic and may occasionally fail". It does. postPatch = '' rm \ platforms/*/tests/Test*BrownianIntegrator.* \ diff --git a/pkgs/by-name/ot/otb/itk_4_13/package.nix b/pkgs/by-name/ot/otb/itk_4_13/package.nix index 54df690fb58a..7de4254392ad 100644 --- a/pkgs/by-name/ot/otb/itk_4_13/package.nix +++ b/pkgs/by-name/ot/otb/itk_4_13/package.nix @@ -126,7 +126,7 @@ stdenv.mkDerivation (finalAttrs: { ]; buildInputs = [ libuuid ]; propagatedBuildInputs = [ - # similar to 5.2.x, we progagate these inputs for OTB + # similar to 5.2.x, we propagate these inputs for OTB expat fftw fftwFloat diff --git a/pkgs/by-name/ph/phantomsocks/package.nix b/pkgs/by-name/ph/phantomsocks/package.nix index 9f93d06139be..83cbe8435c77 100644 --- a/pkgs/by-name/ph/phantomsocks/package.nix +++ b/pkgs/by-name/ph/phantomsocks/package.nix @@ -4,7 +4,7 @@ fetchFromGitHub, stdenv, libpcap, - # Cann't be build with both pcap and rawsocket tags + # Can't be build with both pcap and rawsocket tags withPcap ? (!stdenv.hostPlatform.isLinux && !withRawsocket), withRawsocket ? (stdenv.hostPlatform.isLinux && !withPcap), }: diff --git a/pkgs/by-name/po/portmod/package.nix b/pkgs/by-name/po/portmod/package.nix index dfb372b6b34a..22b46a8cb7bc 100644 --- a/pkgs/by-name/po/portmod/package.nix +++ b/pkgs/by-name/po/portmod/package.nix @@ -52,7 +52,7 @@ python3Packages.buildPythonApplication rec { pname = "portmod"; format = "pyproject"; - # build the rust library independantly + # build the rust library independently prePatch = '' substituteInPlace setup.py \ --replace "from setuptools_rust import Binding, RustExtension, Strip" "" \ diff --git a/pkgs/by-name/pr/proton-ge-bin/package.nix b/pkgs/by-name/pr/proton-ge-bin/package.nix index 5e9b395c94c2..e45281a03b4e 100644 --- a/pkgs/by-name/pr/proton-ge-bin/package.nix +++ b/pkgs/by-name/pr/proton-ge-bin/package.nix @@ -3,7 +3,7 @@ stdenvNoCC, fetchzip, writeScript, - # Can be overriden to alter the display name in steam + # Can be overridden to alter the display name in steam # This could be useful if multiple versions should be installed together steamDisplayName ? "GE-Proton", }: diff --git a/pkgs/by-name/py/pybibget/package.nix b/pkgs/by-name/py/pybibget/package.nix index 83eb642ce5b7..4aad76fdc760 100644 --- a/pkgs/by-name/py/pybibget/package.nix +++ b/pkgs/by-name/py/pybibget/package.nix @@ -30,7 +30,7 @@ python3.pkgs.buildPythonApplication { requests ]; - # Tests for this applicaiton do not run on NixOS, and binaries were + # Tests for this application do not run on NixOS, and binaries were # manually tested instead doCheck = false; diff --git a/pkgs/by-name/re/realmd/package.nix b/pkgs/by-name/re/realmd/package.nix index 4757931926a3..e08e1de89cee 100644 --- a/pkgs/by-name/re/realmd/package.nix +++ b/pkgs/by-name/re/realmd/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { "--with-systemd-unit-dir=${placeholder "out"}/lib/systemd/system" # realmd doesn't fails without proper defaults and distro configuration files - # These settings will be overriden by the NixOS module + # These settings will be overridden by the NixOS module "--with-distro=redhat" # Documentation is disabled diff --git a/pkgs/by-name/re/rewind-ai/package.nix b/pkgs/by-name/re/rewind-ai/package.nix index d1ca6ddf5389..bc356f71bdac 100644 --- a/pkgs/by-name/re/rewind-ai/package.nix +++ b/pkgs/by-name/re/rewind-ai/package.nix @@ -37,7 +37,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { runHook postInstall ''; - # Example response to use when modifing the script: https://pastebin.com/raw/90qU3n6H + # Example response to use when modifying the script: https://pastebin.com/raw/90qU3n6H # There is a real harsh limit on update checks, so DO NOT send any unnecessary update checks # Wait at least 3 days since the last pub_date (you will find the date at the end of the version number) # Example: 20240504 would be 2024/05/04, and that would mean that we want to check no earlier than on 2024/05/07 for any updates diff --git a/pkgs/by-name/rq/rqlite/package.nix b/pkgs/by-name/rq/rqlite/package.nix index cf1364581387..9967a8d2dafa 100644 --- a/pkgs/by-name/rq/rqlite/package.nix +++ b/pkgs/by-name/rq/rqlite/package.nix @@ -24,7 +24,7 @@ buildGoModule rec { ]; # Leaving other flags from https://github.com/rqlite/rqlite/blob/master/package.sh - # since automatically retriving those is nontrivial and inessential + # since automatically retrieving those is nontrivial and inessential ldflags = [ "-s" "-w" diff --git a/pkgs/by-name/sa/sage/sage.nix b/pkgs/by-name/sa/sage/sage.nix index e909d1ef58e0..834f9f974aa2 100644 --- a/pkgs/by-name/sa/sage/sage.nix +++ b/pkgs/by-name/sa/sage/sage.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ makeWrapper ]; buildInputs = lib.optionals requireSageTests [ - # This is a hack to make sure sage-tests is evaluated. It doesn't acutally + # This is a hack to make sure sage-tests is evaluated. It doesn't actually # produce anything of value, it just decouples the tests from the build. sage-tests ]; diff --git a/pkgs/by-name/sd/SDL2_image/package.nix b/pkgs/by-name/sd/SDL2_image/package.nix index a4b150858520..aa26943c766d 100644 --- a/pkgs/by-name/sd/SDL2_image/package.nix +++ b/pkgs/by-name/sd/SDL2_image/package.nix @@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { ++ lib.optionals stdenv.hostPlatform.isDarwin [ # Don't use native macOS frameworks # Caution: do not set this as (!stdenv.hostPlatform.isDarwin) since it would be true - # outside Darwin - and ImageIO does not exist outisde Darwin + # outside Darwin - and ImageIO does not exist outside Darwin (lib.enableFeature false "imageio") ]; diff --git a/pkgs/by-name/se/sequoia-sqv/package.nix b/pkgs/by-name/se/sequoia-sqv/package.nix index 755b1a2e222c..a1c492d03587 100644 --- a/pkgs/by-name/se/sequoia-sqv/package.nix +++ b/pkgs/by-name/se/sequoia-sqv/package.nix @@ -31,7 +31,7 @@ rustPlatform.buildRustPackage rec { buildInputs = [ nettle ]; - # Install shell completion files and manual pages. Unfortunatly it is hard to + # Install shell completion files and manual pages. Unfortunately it is hard to # predict the paths to all of these files generated during the build, and it # is impossible to control these using `$OUT_DIR` or alike, as implied by # upstream's `build.rs`. This is a general Rust issue also discussed in diff --git a/pkgs/by-name/se/sequoia-wot/package.nix b/pkgs/by-name/se/sequoia-wot/package.nix index 412614537944..b9aaf9dc9a92 100644 --- a/pkgs/by-name/se/sequoia-wot/package.nix +++ b/pkgs/by-name/se/sequoia-wot/package.nix @@ -64,7 +64,7 @@ rustPlatform.buildRustPackage rec { nativeCheckInputs = [ gnupg ]; - # Install shell completion files and manual pages. Unfortunatly it is hard to + # Install shell completion files and manual pages. Unfortunately it is hard to # predict the paths to all of these files generated during the build, and it # is impossible to control these using `$OUT_DIR` or alike, as implied by # upstream's `build.rs`. This is a general Rust issue also discussed in diff --git a/pkgs/by-name/si/sixpair/package.nix b/pkgs/by-name/si/sixpair/package.nix index aae35dca3943..267d1ddba501 100644 --- a/pkgs/by-name/si/sixpair/package.nix +++ b/pkgs/by-name/si/sixpair/package.nix @@ -13,7 +13,7 @@ stdenv.mkDerivation { sha256 = "1b0a3k7gs544cbji7n29jxlrsscwfx6s1r2sgwdl6hmkc1l9gagr"; }; - # hcitool is depricated + # hcitool is deprecated patches = [ ./hcitool.patch ]; buildInputs = [ libusb-compat-0_1 ]; diff --git a/pkgs/by-name/sl/sleek/package.nix b/pkgs/by-name/sl/sleek/package.nix index d7d959ec1b7d..afe3db6eaf27 100644 --- a/pkgs/by-name/sl/sleek/package.nix +++ b/pkgs/by-name/sl/sleek/package.nix @@ -15,7 +15,7 @@ rustPlatform.buildRustPackage rec { hash = "sha256-VQ0LmKhFsC12qoXCFHxtV5E+J7eRvZMVH0j+5r8pDk8="; }; - # 0.3.0 has been tagged before the actual Cargo.lock bump, resulting in an inconsitent lock file. + # 0.3.0 has been tagged before the actual Cargo.lock bump, resulting in an inconsistent lock file. # To work around this, the Cargo.lock below is from the commit right after the tag: # https://github.com/nrempel/sleek/commit/18c5457a813a16e3eebfc1c6f512131e6e8daa02 postPatch = '' diff --git a/pkgs/by-name/ta/target-isns/package.nix b/pkgs/by-name/ta/target-isns/package.nix index aac984c34807..912c2541019e 100644 --- a/pkgs/by-name/ta/target-isns/package.nix +++ b/pkgs/by-name/ta/target-isns/package.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { }; patches = [ - # fix absoulute paths + # fix absolute paths ./install_prefix_path.patch # fix gcc 10 compiler warning, remove with next update diff --git a/pkgs/by-name/ti/tiny-cuda-nn/package.nix b/pkgs/by-name/ti/tiny-cuda-nn/package.nix index e6768fd6b694..25b43707dde6 100644 --- a/pkgs/by-name/ti/tiny-cuda-nn/package.nix +++ b/pkgs/by-name/ti/tiny-cuda-nn/package.nix @@ -102,7 +102,7 @@ stdenv.mkDerivation (finalAttrs: { ); # NOTE: We cannot use pythonImportsCheck for this module because it uses torch to immediately - # initailize CUDA and GPU access is not allowed in the nix build environment. + # initialize CUDA and GPU access is not allowed in the nix build environment. # NOTE: There are no tests for the C++ library or the python bindings, so we just skip the check # phase -- we're not missing anything. doCheck = false; @@ -116,7 +116,7 @@ stdenv.mkDerivation (finalAttrs: { ''; # When building the python bindings, we cannot re-use the artifacts from the C++ build so we - # skip the CMake confurePhase and the buildPhase. + # skip the CMake configurePhase and the buildPhase. dontUseCmakeConfigure = pythonSupport; # The configurePhase usually puts you in the build directory, so for the python bindings we diff --git a/pkgs/by-name/to/topiary/package.nix b/pkgs/by-name/to/topiary/package.nix index b992e5abe2a6..5ffdd1076f0b 100644 --- a/pkgs/by-name/to/topiary/package.nix +++ b/pkgs/by-name/to/topiary/package.nix @@ -41,7 +41,7 @@ rustPlatform.buildRustPackage rec { ]; cargoTestFlags = cargoBuildFlags; - # Skip tests that cannot be executed in sandbox (operation not permited) + # Skip tests that cannot be executed in sandbox (operation not permitted) checkFlags = [ "--skip=test_fmt_dir" "--skip=test_fmt_files" diff --git a/pkgs/by-name/tr/trigger-control/package.nix b/pkgs/by-name/tr/trigger-control/package.nix index ae189e2ca505..ba90ba450dd0 100644 --- a/pkgs/by-name/tr/trigger-control/package.nix +++ b/pkgs/by-name/tr/trigger-control/package.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation (finalAttrs: { src = fetchFromGitHub { owner = "Etaash-mathamsetty"; repo = "trigger-control"; - # upstream does not use consistant tags pattern, so we use git commit hash + # upstream does not use consistent tags pattern, so we use git commit hash # https://github.com/Etaash-mathamsetty/trigger-control/tags rev = "7b46e743227830d3a97720067d0a6cf20133af90"; hash = "sha256-nWSvsgksZ4Cxy1+i0xy8pNalgsiAuaqxNVwT/CThaBI="; diff --git a/pkgs/by-name/tt/tts/package.nix b/pkgs/by-name/tt/tts/package.nix index f4ce01fe7cdc..89ffb9f86f99 100644 --- a/pkgs/by-name/tt/tts/package.nix +++ b/pkgs/by-name/tt/tts/package.nix @@ -135,7 +135,7 @@ python.pkgs.buildPythonApplication rec { ''; disabledTests = [ - # Requires network acccess to download models + # Requires network access to download models "test_korean_text_to_phonemes" "test_models_offset_0_step_3" "test_models_offset_1_step_3" diff --git a/pkgs/by-name/tu/tuifimanager/package.nix b/pkgs/by-name/tu/tuifimanager/package.nix index b87133ca8d83..797bafd0a162 100644 --- a/pkgs/by-name/tu/tuifimanager/package.nix +++ b/pkgs/by-name/tu/tuifimanager/package.nix @@ -10,7 +10,7 @@ x11Support ? stdenv.hostPlatform.isLinux, # pypinput is marked as broken for darwin pynputSupport ? stdenv.hostPlatform.isLinux, - # Experimental Drag & Drop support requires x11 & pyinput suport + # Experimental Drag & Drop support requires x11 & pyinput support hasDndSupport ? x11Support && pynputSupport, enableDragAndDrop ? false, }: diff --git a/pkgs/by-name/uc/uclibc-ng/package.nix b/pkgs/by-name/uc/uclibc-ng/package.nix index e249b33706e0..1a72587e147d 100644 --- a/pkgs/by-name/uc/uclibc-ng/package.nix +++ b/pkgs/by-name/uc/uclibc-ng/package.nix @@ -117,7 +117,7 @@ stdenv.mkDerivation (finalAttrs: { ''; passthru = { - # Derivations may check for the existance of this attribute, to know what to + # Derivations may check for the existence of this attribute, to know what to # link to. libiconv = libiconvReal; diff --git a/pkgs/by-name/uc/ucommon/package.nix b/pkgs/by-name/uc/ucommon/package.nix index b91c0461ed09..532df5e3be7e 100644 --- a/pkgs/by-name/uc/ucommon/package.nix +++ b/pkgs/by-name/uc/ucommon/package.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation rec { --replace 'ifndef UCOMMON_SYSRUNTIME' 'if 0' ''; - # ucommon.pc has link time depdendencies on -lusecure -lucommon -lgnutls + # ucommon.pc has link time dependencies on -lusecure -lucommon -lgnutls propagatedBuildInputs = [ gnutls ]; doCheck = true; diff --git a/pkgs/by-name/un/unnethack/package.nix b/pkgs/by-name/un/unnethack/package.nix index 892f29b82272..ec6637926b84 100644 --- a/pkgs/by-name/un/unnethack/package.nix +++ b/pkgs/by-name/un/unnethack/package.nix @@ -52,7 +52,7 @@ stdenv.mkDerivation rec { # TODO: drop it once 6.x branch releases. hardeningDisable = [ "fortify3" ]; - # Fails the build occasionally due to missing buid depends: + # Fails the build occasionally due to missing build depends: # ./../sys/unix/unixmain.c:9:10: fatal error: date.h: No such file or directory # TODO: remove once upstream issue is fixed: # https://github.com/UnNetHack/UnNetHack/issues/56 diff --git a/pkgs/by-name/va/vamp-plugin-sdk/package.nix b/pkgs/by-name/va/vamp-plugin-sdk/package.nix index e7d538d1af06..4b2646693a02 100644 --- a/pkgs/by-name/va/vamp-plugin-sdk/package.nix +++ b/pkgs/by-name/va/vamp-plugin-sdk/package.nix @@ -1,5 +1,5 @@ # set VAMP_PATH ? -# plugins availible on sourceforge and http://www.vamp-plugins.org/download.html (various licenses) +# plugins available on sourceforge and http://www.vamp-plugins.org/download.html (various licenses) { lib, diff --git a/pkgs/by-name/vk/vkd3d-proton/sources.nix b/pkgs/by-name/vk/vkd3d-proton/sources.nix index 7db9c6804d92..4c4a39c6f6b6 100644 --- a/pkgs/by-name/vk/vkd3d-proton/sources.nix +++ b/pkgs/by-name/vk/vkd3d-proton/sources.nix @@ -16,7 +16,7 @@ # Some files are filled by using Git commands; it requires deepClone. # More info at `checkout_ref` function in nix-prefetch-git. # However, `.git` is a bit nondeterministic (and Git itself makes no - # guarrantees whatsoever). + # guarantees whatsoever). # Then, in order to enhance reproducibility, what we will do here is: # # - Execute the desired Git commands; diff --git a/pkgs/by-name/vl/vlang/package.nix b/pkgs/by-name/vl/vlang/package.nix index 44cd0ab758ba..2b3cdbaf80a0 100644 --- a/pkgs/by-name/vl/vlang/package.nix +++ b/pkgs/by-name/vl/vlang/package.nix @@ -19,7 +19,7 @@ let #include #include ''; - # vc is the V compiler's source translated to C (needed for boostrap). + # vc is the V compiler's source translated to C (needed for bootstrap). # So we fix its rev to correspond to the V version. vc = stdenv.mkDerivation { pname = "v.c"; diff --git a/pkgs/by-name/vm/vmagent/package.nix b/pkgs/by-name/vm/vmagent/package.nix index f31526026319..650ad38f0a40 100644 --- a/pkgs/by-name/vm/vmagent/package.nix +++ b/pkgs/by-name/vm/vmagent/package.nix @@ -1,7 +1,7 @@ { lib, victoriametrics }: # This package is build out of the victoriametrics package. -# so no separat update prs are needed for vmagent +# so no separate update prs are needed for vmagent # nixpkgs-update: no auto update lib.addMetaAttrs { mainProgram = "vmagent"; } ( victoriametrics.override { diff --git a/pkgs/by-name/xv/xvidcore/package.nix b/pkgs/by-name/xv/xvidcore/package.nix index 5354931f43d4..b3dcbbd79d5d 100644 --- a/pkgs/by-name/xv/xvidcore/package.nix +++ b/pkgs/by-name/xv/xvidcore/package.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation rec { rm $out/lib/*.a ''; - # Dependants of xvidcore don't know to look in bin for dependecies. Link them + # Dependants of xvidcore don't know to look in bin for dependencies. Link them # in lib so other depedants of xvidcore can find the dlls. postFixup = lib.optionalString stdenv.hostPlatform.isMinGW '' ln -s $out/bin/*.dll $out/lib diff --git a/pkgs/by-name/ze/zed-open-capture/package.nix b/pkgs/by-name/ze/zed-open-capture/package.nix index 648424d47443..ece760178aa8 100644 --- a/pkgs/by-name/ze/zed-open-capture/package.nix +++ b/pkgs/by-name/ze/zed-open-capture/package.nix @@ -33,7 +33,7 @@ stdenv.mkDerivation { ]; # all but one example require opencv with UI support, so disable it. - # The input OpenCV can be overriden with (opencv.override { enableGtk3 = true; }) + # The input OpenCV can be overridden with (opencv.override { enableGtk3 = true; }) cmakeFlags = lib.optionals (!withExamples) [ "-DBUILD_EXAMPLES=OFF" ]; diff --git a/pkgs/by-name/zi/zim/package.nix b/pkgs/by-name/zi/zim/package.nix index 066afeffae8b..63d15210ffb2 100644 --- a/pkgs/by-name/zi/zim/package.nix +++ b/pkgs/by-name/zi/zim/package.nix @@ -11,7 +11,7 @@ # TODO: Declare configuration options for the following optional dependencies: # - File stores: hg, git, bzr -# - Included plugins depenencies: dot, ditaa, dia, any other? +# - Included plugins dependencies: dot, ditaa, dia, any other? # - pyxdg: Need to make it work first (see setupPyInstallFlags). python3Packages.buildPythonApplication rec { diff --git a/pkgs/by-name/zs/zsync/package.nix b/pkgs/by-name/zs/zsync/package.nix index 359707c0731f..934bf7e97a95 100644 --- a/pkgs/by-name/zs/zsync/package.nix +++ b/pkgs/by-name/zs/zsync/package.nix @@ -27,7 +27,7 @@ stdenv.mkDerivation rec { # Suppress error "call to undeclared library function 'strcasecmp'" during compilation. # The function is found by the linker correctly, so this doesn't introduce any issues. - # Also supress errors that come from incompatible pointer types due to GCC 14 changes. + # Also suppress errors that come from incompatible pointer types due to GCC 14 changes. env.NIX_CFLAGS_COMPILE = toString ( lib.optionals stdenv.cc.isClang [ "-Wno-implicit-function-declaration" diff --git a/pkgs/common-updater/combinators.nix b/pkgs/common-updater/combinators.nix index 3f028fa8e1bb..c4754848be87 100644 --- a/pkgs/common-updater/combinators.nix +++ b/pkgs/common-updater/combinators.nix @@ -14,7 +14,7 @@ = FilePath // Path to execute plus arguments to pass it | [ (FilePath | String) ] - // Advanced attribue set (experimental) + // Advanced attribute set (experimental) | { // Script to execute (same as basic update script above) command : (FilePath | [ (FilePath | String) ]) diff --git a/pkgs/data/fonts/nerd-fonts/default.nix b/pkgs/data/fonts/nerd-fonts/default.nix index 27595a1fb4f6..b1620a44c173 100644 --- a/pkgs/data/fonts/nerd-fonts/default.nix +++ b/pkgs/data/fonts/nerd-fonts/default.nix @@ -77,7 +77,7 @@ let description = "Nerd Fonts: " + description; license = lib.unique ( (with lib.licenses; [ - # > Nerd Fonts source fonts, patched fonts, and folders with explict OFL SIL files + # > Nerd Fonts source fonts, patched fonts, and folders with explicit OFL SIL files ofl # > Nerd Fonts original source code files (such as `.sh`, `.py`, `font-patcher` and others) mit diff --git a/pkgs/desktops/lomiri/applications/lomiri-camera-app/default.nix b/pkgs/desktops/lomiri/applications/lomiri-camera-app/default.nix index 42f4b1a2aefd..4c4738935ef1 100644 --- a/pkgs/desktops/lomiri/applications/lomiri-camera-app/default.nix +++ b/pkgs/desktops/lomiri/applications/lomiri-camera-app/default.nix @@ -37,7 +37,7 @@ stdenv.mkDerivation (finalAttrs: { hash = "sha256-x0hxOGPIxzQdwzb8f4wvllAW1hJ5lyR4qYvyX96RMoA="; }; - # We don't want absolute paths in dekstop files + # We don't want absolute paths in desktop files postPatch = '' substituteInPlace CMakeLists.txt \ --replace-fail 'CAMERA_SPLASH ''${CAMERA_APP_DIR}/assets/lomiri-camera-app-splash.svg' 'CAMERA_SPLASH lomiri-app-launch/splash/lomiri-camera-app.svg' \ diff --git a/pkgs/desktops/plasma-5/kwin/default.nix b/pkgs/desktops/plasma-5/kwin/default.nix index a96dd3dcf8a1..405a7c0a576e 100644 --- a/pkgs/desktops/plasma-5/kwin/default.nix +++ b/pkgs/desktops/plasma-5/kwin/default.nix @@ -140,7 +140,7 @@ mkDerivation { ./0003-plugins-qpa-allow-using-nixos-wrapper.patch ./0001-NixOS-Unwrap-executable-name-for-.desktop-search.patch ./0001-Lower-CAP_SYS_NICE-from-the-ambient-set.patch - # Pass special environments through arguemnts to `kwin_wayland`, bypassing + # Pass special environments through arguments to `kwin_wayland`, bypassing # ld.so(8) environment stripping due to `kwin_wayland`'s capabilities. # We need this to have `TZDIR` correctly set for `plasmashell`, or # everything related to timezone, like clock widgets, will be broken. diff --git a/pkgs/development/compilers/elm/packages/ghc9_2/default.nix b/pkgs/development/compilers/elm/packages/ghc9_2/default.nix index e823ea2c3443..00cb7f6cf53b 100644 --- a/pkgs/development/compilers/elm/packages/ghc9_2/default.nix +++ b/pkgs/development/compilers/elm/packages/ghc9_2/default.nix @@ -52,7 +52,7 @@ pkgs.haskell.packages.ghc92.override { # elm-format requires text >= 2.0 text = self.text_2_0_2; - # unorderd-container's tests indirectly depend on text < 2.0 + # unordered-container's tests indirectly depend on text < 2.0 unordered-containers = overrideCabal (drv: { doCheck = false; }) super.unordered-containers; # relude-1.1.0.0's tests depend on hedgehog < 1.2, which indirectly depends on text < 2.0 relude = overrideCabal (drv: { doCheck = false; }) super.relude; diff --git a/pkgs/development/compilers/factor-lang/factor99.nix b/pkgs/development/compilers/factor-lang/factor99.nix index bd8d9069941f..e5edc8e3a2fc 100644 --- a/pkgs/development/compilers/factor-lang/factor99.nix +++ b/pkgs/development/compilers/factor-lang/factor99.nix @@ -161,7 +161,7 @@ stdenv.mkDerivation { # For now, the check phase runs, but should always return 0. This way the logs # contain the test failures until all unit tests are fixed. Then, it should - # return 1 if any test failures have occured. + # return 1 if any test failures have occurred. doCheck = false; checkPhase = '' runHook preCheck diff --git a/pkgs/development/compilers/gcc/default.nix b/pkgs/development/compilers/gcc/default.nix index 66affd84a593..4e0b9fd76339 100644 --- a/pkgs/development/compilers/gcc/default.nix +++ b/pkgs/development/compilers/gcc/default.nix @@ -164,7 +164,7 @@ assert stdenv.buildPlatform.isDarwin -> gnused != null; assert langGo -> langCC; assert langAda -> gnat-bootstrap != null; -# TODO: fixup D bootstapping, probably by using gdc11 (and maybe other changes). +# TODO: fixup D bootstrapping, probably by using gdc11 (and maybe other changes). # error: GDC is required to build d assert atLeast12 -> !langD; @@ -319,7 +319,7 @@ pipe ((callFile ./common/builder.nix {}) ({ ${if hostPlatform.system == "x86_64-solaris" then "CC" else null} = "gcc -m64"; # Setting $CPATH and $LIBRARY_PATH to make sure both `gcc' and `xgcc' find the - # library headers and binaries, regarless of the language being compiled. + # library headers and binaries, regardless of the language being compiled. # # The LTO code doesn't find zlib, so we just add it to $CPATH and # $LIBRARY_PATH in this case. diff --git a/pkgs/development/compilers/ghc/8.10.7-binary.nix b/pkgs/development/compilers/ghc/8.10.7-binary.nix index 6137777f2747..fc0e6e613195 100644 --- a/pkgs/development/compilers/ghc/8.10.7-binary.nix +++ b/pkgs/development/compilers/ghc/8.10.7-binary.nix @@ -44,7 +44,7 @@ let # on the compiler binary (`exePathForLibraryCheck`). # * To skip library checking for an architecture, # set `exePathForLibraryCheck = null`. - # * To skip file checking for a specific arch specfic library, + # * To skip file checking for a specific arch specific library, # set `fileToCheckFor = null`. ghcBinDists = { # Binary distributions for the default libc (e.g. glibc, or libSystem on Darwin) @@ -503,7 +503,7 @@ stdenv.mkDerivation rec { # Our Cabal compiler name haskellCompilerName = "ghc-${version}"; } - # We duplicate binDistUsed here since we have a sensible default even if no bindist is avaible, + # We duplicate binDistUsed here since we have a sensible default even if no bindist is available, # this makes sure that getting the `meta` attribute doesn't throw even on unsupported platforms. // lib.optionalAttrs (ghcBinDists.${distSetName}.${stdenv.hostPlatform.system}.isHadrian or false) { # Normal GHC derivations expose the hadrian derivation used to build them diff --git a/pkgs/development/compilers/ghc/9.2.4-binary.nix b/pkgs/development/compilers/ghc/9.2.4-binary.nix index e5e21a91b611..a0065f28a79b 100644 --- a/pkgs/development/compilers/ghc/9.2.4-binary.nix +++ b/pkgs/development/compilers/ghc/9.2.4-binary.nix @@ -44,7 +44,7 @@ let # on the compiler binary (`exePathForLibraryCheck`). # * To skip library checking for an architecture, # set `exePathForLibraryCheck = null`. - # * To skip file checking for a specific arch specfic library, + # * To skip file checking for a specific arch specific library, # set `fileToCheckFor = null`. ghcBinDists = { # Binary distributions for the default libc (e.g. glibc, or libSystem on Darwin) @@ -464,7 +464,7 @@ stdenv.mkDerivation rec { # Our Cabal compiler name haskellCompilerName = "ghc-${version}"; } - # We duplicate binDistUsed here since we have a sensible default even if no bindist is avaible, + # We duplicate binDistUsed here since we have a sensible default even if no bindist is available, # this makes sure that getting the `meta` attribute doesn't throw even on unsupported platforms. // lib.optionalAttrs (ghcBinDists.${distSetName}.${stdenv.hostPlatform.system}.isHadrian or false) { # Normal GHC derivations expose the hadrian derivation used to build them diff --git a/pkgs/development/compilers/ghc/9.6.3-binary.nix b/pkgs/development/compilers/ghc/9.6.3-binary.nix index e392fdd02f5b..6f9184899b1a 100644 --- a/pkgs/development/compilers/ghc/9.6.3-binary.nix +++ b/pkgs/development/compilers/ghc/9.6.3-binary.nix @@ -44,7 +44,7 @@ let # on the compiler binary (`exePathForLibraryCheck`). # * To skip library checking for an architecture, # set `exePathForLibraryCheck = null`. - # * To skip file checking for a specific arch specfic library, + # * To skip file checking for a specific arch specific library, # set `fileToCheckFor = null`. ghcBinDists = { # Binary distributions for the default libc (e.g. glibc, or libSystem on Darwin) diff --git a/pkgs/development/compilers/idris2/build-idris.nix b/pkgs/development/compilers/idris2/build-idris.nix index 5ca4e8461c56..6f829451d2b2 100644 --- a/pkgs/development/compilers/idris2/build-idris.nix +++ b/pkgs/development/compilers/idris2/build-idris.nix @@ -122,7 +122,7 @@ let ''; # allow an executable's dependencies to be built with source. this is convenient when - # building a development shell for the exectuable using `mkShell`'s `inputsFrom`. + # building a development shell for the executable using `mkShell`'s `inputsFrom`. passthru = derivation.passthru // { withSource = mkExecutable true; }; diff --git a/pkgs/development/compilers/llvm/common/compiler-rt/default.nix b/pkgs/development/compilers/llvm/common/compiler-rt/default.nix index f72af0f08556..25952041800f 100644 --- a/pkgs/development/compilers/llvm/common/compiler-rt/default.nix +++ b/pkgs/development/compilers/llvm/common/compiler-rt/default.nix @@ -26,7 +26,7 @@ # In recent releases, the compiler-rt build seems to produce # many `libclang_rt*` libraries, but not a single unified # `libcompiler_rt` library, at least under certain configurations. Some -# platforms stil expect this, however, so we symlink one into place. +# platforms still expect this, however, so we symlink one into place. , forceLinkCompilerRt ? stdenv.hostPlatform.isOpenBSD , devExtraCmakeFlags ? [] }: @@ -188,7 +188,7 @@ stdenv.mkDerivation { ) ''; - # Hack around weird upsream RPATH bug + # Hack around weird upstream RPATH bug postInstall = lib.optionalString (stdenv.hostPlatform.isDarwin) '' ln -s "$out/lib"/*/* "$out/lib" '' + lib.optionalString (useLLVM && stdenv.hostPlatform.isLinux) '' @@ -226,7 +226,7 @@ stdenv.mkDerivation { # compiler-rt requires a Clang stdenv on 32-bit RISC-V: # https://reviews.llvm.org/D43106#1019077 (stdenv.hostPlatform.isRiscV32 && !stdenv.cc.isClang) - # emutls wants `` which isn't avaiable (without exeprimental WASM threads proposal). + # emutls wants `` which isn't available (without experimental WASM threads proposal). # `enable_execute_stack.c` Also doesn't sound like something WASM would support. || (stdenv.hostPlatform.isWasm && haveLibc); }; diff --git a/pkgs/development/compilers/ocaml/4.04.nix b/pkgs/development/compilers/ocaml/4.04.nix index 2158dbe6a23e..030d7c36c6f4 100644 --- a/pkgs/development/compilers/ocaml/4.04.nix +++ b/pkgs/development/compilers/ocaml/4.04.nix @@ -4,7 +4,7 @@ import ./generic.nix { patch_version = "2"; sha256 = "0bhgjzi78l10824qga85nlh18jg9lb6aiamf9dah1cs6jhzfsn6i"; - # If the executable is stipped it does not work + # If the executable is stripped it does not work dontStrip = true; patches = [ diff --git a/pkgs/development/compilers/ocaml/4.06.nix b/pkgs/development/compilers/ocaml/4.06.nix index 3ce7068a827e..e14ef4e16807 100644 --- a/pkgs/development/compilers/ocaml/4.06.nix +++ b/pkgs/development/compilers/ocaml/4.06.nix @@ -4,7 +4,7 @@ import ./generic.nix { patch_version = "1"; sha256 = "1n3pygfssd6nkrq876wszm5nm3v4605q4k16a66h1nmq9wvf01vg"; - # If the executable is stipped it does not work + # If the executable is stripped it does not work dontStrip = true; patches = [ diff --git a/pkgs/development/compilers/sbcl/default.nix b/pkgs/development/compilers/sbcl/default.nix index 03d170dfd389..88f7ea48fdc8 100644 --- a/pkgs/development/compilers/sbcl/default.nix +++ b/pkgs/development/compilers/sbcl/default.nix @@ -2,7 +2,7 @@ , version # Set this to a lisp binary to use a custom bootstrap lisp compiler for SBCL. # Leave as null to use the default. This is useful for local development of - # SBCL, because you can use your existing stock SBCL as a boostrap. On Hydra + # SBCL, because you can use your existing stock SBCL as a bootstrap. On Hydra # of course we can’t do that because SBCL hasn’t been built yet, so we use # ECL but that’s much slower. , bootstrapLisp ? null diff --git a/pkgs/development/compilers/swift/swiftpm/default.nix b/pkgs/development/compilers/swift/swiftpm/default.nix index 48f8b49a8df4..93d73938be20 100644 --- a/pkgs/development/compilers/swift/swiftpm/default.nix +++ b/pkgs/development/compilers/swift/swiftpm/default.nix @@ -445,7 +445,7 @@ stdenv.mkDerivation ( # TERM=dumb swift-test -c release #''; - # The following is dervied from Utilities/bootstrap, see install_swiftpm. + # The following is derived from Utilities/bootstrap, see install_swiftpm. installPhase = '' binPath="$(swift-build --show-bin-path -c release)" diff --git a/pkgs/development/compilers/yosys/default.nix b/pkgs/development/compilers/yosys/default.nix index ee9167016d20..274cdabf4a40 100644 --- a/pkgs/development/compilers/yosys/default.nix +++ b/pkgs/development/compilers/yosys/default.nix @@ -41,7 +41,7 @@ let - # Provides a wrapper for creating a yosys with the specifed plugins preloaded + # Provides a wrapper for creating a yosys with the specified plugins preloaded # # Example: # diff --git a/pkgs/development/coq-modules/mathcomp-analysis/default.nix b/pkgs/development/coq-modules/mathcomp-analysis/default.nix index f148ad2a04e9..8b8d9cba44ad 100644 --- a/pkgs/development/coq-modules/mathcomp-analysis/default.nix +++ b/pkgs/development/coq-modules/mathcomp-analysis/default.nix @@ -239,7 +239,7 @@ let passthru = lib.mapAttrs (package: deps: mathcomp_ package) packages; }); - # split packages didn't exist before 0.6, so bulding nothing in that case + # split packages didn't exist before 0.6, so building nothing in that case patched-derivation1 = derivation.overrideAttrs ( o: lib.optionalAttrs @@ -266,7 +266,7 @@ let && lib.versions.isLt "0.6" o.version ) { preBuild = ""; } ); - # only packages classical and analysis existed before 1.7, so bulding nothing in that case + # only packages classical and analysis existed before 1.7, so building nothing in that case patched-derivation3 = patched-derivation2.overrideAttrs ( o: lib.optionalAttrs diff --git a/pkgs/development/coq-modules/metacoq/default.nix b/pkgs/development/coq-modules/metacoq/default.nix index ea39fb8f9b38..99c79f4e5fba 100644 --- a/pkgs/development/coq-modules/metacoq/default.nix +++ b/pkgs/development/coq-modules/metacoq/default.nix @@ -223,7 +223,7 @@ let } ); # utils, common, template-pcuic, quotation, safechecker-plugin, and erasure-plugin - # packages didn't exist before 1.2, so bulding nothing in that case + # packages didn't exist before 1.2, so building nothing in that case patched-derivation = derivation.overrideAttrs ( o: lib.optionalAttrs diff --git a/pkgs/development/cuda-modules/cudnn-frontend/default.nix b/pkgs/development/cuda-modules/cudnn-frontend/default.nix index 8b020eae55a0..0ed13287e284 100644 --- a/pkgs/development/cuda-modules/cudnn-frontend/default.nix +++ b/pkgs/development/cuda-modules/cudnn-frontend/default.nix @@ -59,7 +59,7 @@ stdenv.mkDerivation (finalAttrs: { ''; # TODO: As a header-only library, we should make sure we have an `include` directory or similar which is not a - # superset of the `out` (`bin`) or `dev` outputs (whih is what the multiple-outputs setup hook does by default). + # superset of the `out` (`bin`) or `dev` outputs (which is what the multiple-outputs setup hook does by default). outputs = [ "out" diff --git a/pkgs/development/cuda-modules/cutensor/extension.nix b/pkgs/development/cuda-modules/cutensor/extension.nix index 2abffe025d63..94f4404c5b55 100644 --- a/pkgs/development/cuda-modules/cutensor/extension.nix +++ b/pkgs/development/cuda-modules/cutensor/extension.nix @@ -103,7 +103,7 @@ let redistArch ] null feature) != null; - # TODO(@connorbaker): With an auxilliary file keeping track of the CUDA versions each release supports, + # TODO(@connorbaker): With an auxiliary file keeping track of the CUDA versions each release supports, # we could filter out releases that don't support our CUDA version. # However, we don't have that currently, so we make a best-effort to try to build TensorRT with whatever # libPath corresponds to our CUDA version. diff --git a/pkgs/development/cuda-modules/generic-builders/manifest.nix b/pkgs/development/cuda-modules/generic-builders/manifest.nix index 26f4f1b972ae..2d5925514e71 100644 --- a/pkgs/development/cuda-modules/generic-builders/manifest.nix +++ b/pkgs/development/cuda-modules/generic-builders/manifest.nix @@ -103,7 +103,7 @@ backendStdenv.mkDerivation (finalAttrs: { in outputs; - # Traversed in the order of the outputs speficied in outputs; + # Traversed in the order of the outputs specified in outputs; # entries are skipped if they don't exist in outputs. outputToPatterns = { bin = [ "bin" ]; diff --git a/pkgs/development/gnuradio-modules/mkDerivation.nix b/pkgs/development/gnuradio-modules/mkDerivation.nix index 1f6ee5f2f1ae..960ecd413439 100644 --- a/pkgs/development/gnuradio-modules/mkDerivation.nix +++ b/pkgs/development/gnuradio-modules/mkDerivation.nix @@ -27,7 +27,7 @@ else enableParallelBuilding = args.enableParallelBuilding or true; nativeBuildInputs = (args.nativeBuildInputs or [ ]); # We add gnuradio and volk itself by default - most gnuradio based packages - # will not consider it a depenency worth mentioning and it will almost + # will not consider it a dependency worth mentioning and it will almost # always be needed buildInputs = (args.buildInputs or [ ]) ++ [ unwrapped diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 0846a6976b62..1a98e3c5ab02 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -133,7 +133,7 @@ self: super: { # bundled with GHC < 9.0. wai-extra = dontHaddock super.wai-extra; - # Overly-strict bounds introducted by a revision in version 0.3.2. + # Overly-strict bounds introduced by a revision in version 0.3.2. text-metrics = doJailbreak super.text-metrics; # Doesn't build with 9.0, see https://github.com/yi-editor/yi/issues/1125 diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix index 694b21a5e482..3f1b43e5616c 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix @@ -121,7 +121,7 @@ self: super: gtk = doJailbreak super.gtk; # 2023-12-23: It needs this to build under ghc-9.6.3. - # A factor of 100 is insufficent, 200 seems seems to work. + # A factor of 100 is insufficient, 200 seems seems to work. hip = appendConfigureFlag "--ghc-options=-fsimpl-tick-factor=200" super.hip; # Doctest comments have bogus imports. diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix index b221bcf2e589..f707cf4787d8 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix @@ -133,7 +133,7 @@ self: super: { # # 2023-12-23: It needs this to build under ghc-9.6.3. - # A factor of 100 is insufficent, 200 seems seems to work. + # A factor of 100 is insufficient, 200 seems seems to work. hip = appendConfigureFlag "--ghc-options=-fsimpl-tick-factor=200" super.hip; } // lib.optionalAttrs (lib.versionAtLeast super.ghc.version "9.8.3") { diff --git a/pkgs/development/haskell-modules/configuration-nix.nix b/pkgs/development/haskell-modules/configuration-nix.nix index c098a042b3ab..9ba180a102ee 100644 --- a/pkgs/development/haskell-modules/configuration-nix.nix +++ b/pkgs/development/haskell-modules/configuration-nix.nix @@ -18,7 +18,7 @@ # # * overriding a specific version of a haskell library because some package fails # to build with a newer version. Such overrides have nothing to do with Nix itself, -# and they would also be neccessary outside of Nix if you use the same set of +# and they would also be necessary outside of Nix if you use the same set of # package versions. # * disabling tests that fail due to missing files in the tarball or compile errors # * disabling tests that require too much memory @@ -624,7 +624,7 @@ self: super: builtins.intersectAttrs super { # # Note: Simply patching the dynamic library (.so) of the GLUT build will *not* work, since the # RPATH also needs to be propagated when using static linking. GHC automatically handles this for - # us when we patch the cabal file (Link options will be recored in the ghc package registry). + # us when we patch the cabal file (Link options will be recorded in the ghc package registry). # # Additional note: nixpkgs' freeglut and macOS's OpenGL implementation do not cooperate, # so disable this on Darwin only diff --git a/pkgs/development/interpreters/lua-5/interpreter.nix b/pkgs/development/interpreters/lua-5/interpreter.nix index 02868d749fa6..2af4246f0def 100644 --- a/pkgs/development/interpreters/lua-5/interpreter.nix +++ b/pkgs/development/interpreters/lua-5/interpreter.nix @@ -109,7 +109,7 @@ stdenv.mkDerivation ( "PLAT=${plat}" "CC=${stdenv.cc.targetPrefix}cc" "RANLIB=${stdenv.cc.targetPrefix}ranlib" - # Lua links with readline wich depends on ncurses. For some reason when + # Lua links with readline which depends on ncurses. For some reason when # building pkgsStatic.lua it fails because symbols from ncurses are not # found. Adding ncurses here fixes the problem. "MYLIBS=-lncurses" diff --git a/pkgs/development/libraries/boost/generic.nix b/pkgs/development/libraries/boost/generic.nix index f18ae7f68676..f5530b1545d6 100644 --- a/pkgs/development/libraries/boost/generic.nix +++ b/pkgs/development/libraries/boost/generic.nix @@ -94,7 +94,7 @@ let ( # The stacktrace from exception feature causes memory leaks when built # with libc++. For all other standard library implementations, i.e. - # libstdc++, we must aknowledge this or stacktrace refuses to compile. + # libstdc++, we must acknowledge this or stacktrace refuses to compile. # Issue upstream: https://github.com/boostorg/stacktrace/issues/163 if (stdenv.cc.libcxx != null) then "boost.stacktrace.from_exception=off" diff --git a/pkgs/development/libraries/gssdp/tools.nix b/pkgs/development/libraries/gssdp/tools.nix index 37fa43f91990..5013df1b04ec 100644 --- a/pkgs/development/libraries/gssdp/tools.nix +++ b/pkgs/development/libraries/gssdp/tools.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { patches = [ # Allow building tools separately from the library. - # This is needed to break the depenency cycle. + # This is needed to break the dependency cycle. (replaceVars ./standalone-tools.patch { inherit version; }) diff --git a/pkgs/development/libraries/libdvdnav/4.2.1.nix b/pkgs/development/libraries/libdvdnav/4.2.1.nix index 7ffe86b42f0b..6b72938f7811 100644 --- a/pkgs/development/libraries/libdvdnav/4.2.1.nix +++ b/pkgs/development/libraries/libdvdnav/4.2.1.nix @@ -21,7 +21,7 @@ stdenv.mkDerivation rec { # The upstream supports two configuration workflow: # one is to generate ./configure via `autoconf`, # the other is to run ./configure2. - # ./configure2 is a configureation script included in the upstream source + # ./configure2 is a configuration script included in the upstream source # that supports common "--" flags and generates config.mak and config.h. # See INSTALL inside the upstream source for detail. configureScript = "./configure2"; diff --git a/pkgs/development/libraries/libgit2/default.nix b/pkgs/development/libraries/libgit2/default.nix index e38522173160..b9843c4b75e1 100644 --- a/pkgs/development/libraries/libgit2/default.nix +++ b/pkgs/development/libraries/libgit2/default.nix @@ -51,7 +51,7 @@ stdenv.mkDerivation (finalAttrs: { "-DBUILD_SHARED_LIBS=${if staticBuild then "OFF" else "ON"}" ] ++ lib.optionals stdenv.hostPlatform.isWindows [ "-DDLLTOOL=${stdenv.cc.bintools.targetPrefix}dlltool" - # For ws2_32, refered to by a `*.pc` file + # For ws2_32, referred to by a `*.pc` file "-DCMAKE_LIBRARY_PATH=${stdenv.cc.libc}/lib" ] ++ lib.optionals stdenv.hostPlatform.isOpenBSD [ # openbsd headers fail with default c90 diff --git a/pkgs/development/libraries/libsbsms/common.nix b/pkgs/development/libraries/libsbsms/common.nix index 71c7114b296c..aec4fb6deaeb 100644 --- a/pkgs/development/libraries/libsbsms/common.nix +++ b/pkgs/development/libraries/libsbsms/common.nix @@ -18,7 +18,7 @@ stdenv.mkDerivation rec { }; patches = [ - # Fix buidling on platforms other than x86 + # Fix building on platforms other than x86 (replaceVars ./configure.patch { msse = lib.optionalString stdenv.hostPlatform.isx86_64 "-msse"; }) diff --git a/pkgs/development/libraries/libunistring/default.nix b/pkgs/development/libraries/libunistring/default.nix index 5d2eb67c3a08..1d703fa5f89f 100644 --- a/pkgs/development/libraries/libunistring/default.nix +++ b/pkgs/development/libraries/libunistring/default.nix @@ -10,7 +10,7 @@ let # https://lists.gnu.org/archive/html/bug-gnulib/2024-05/msg00375.html - # macoOS libiconv 14 & 15 do not work with libunistring and a configure test + # macOS libiconv 14 & 15 do not work with libunistring and a configure test # added in 1.3 rejects even building with it so use gnu libiconv on darwin libiconv = if stdenv.hostPlatform.isDarwin then libiconvReal else args.libiconv; in diff --git a/pkgs/development/libraries/opencv/4.x.nix b/pkgs/development/libraries/opencv/4.x.nix index b876a8f1780d..c37b5773ccb5 100644 --- a/pkgs/development/libraries/opencv/4.x.nix +++ b/pkgs/development/libraries/opencv/4.x.nix @@ -84,7 +84,7 @@ , runAccuracyTests ? true , runPerformanceTests ? false # Modules to enable via BUILD_LIST to build a customized opencv. -# An empty lists means this setting is ommited which matches upstreams default. +# An empty lists means this setting is omitted which matches upstreams default. , enabledModules ? [ ] , AVFoundation @@ -519,7 +519,7 @@ effectiveStdenv.mkDerivation { "$out/lib/pkgconfig/opencv4.pc" mkdir "$cxxdev" '' - # fix deps not progagating from opencv4.cxxdev if cuda is disabled + # fix deps not propagating from opencv4.cxxdev if cuda is disabled # see https://github.com/NixOS/nixpkgs/issues/276691 + optionalString (!enableCuda) '' mkdir -p "$cxxdev/nix-support" diff --git a/pkgs/development/libraries/openimageio/default.nix b/pkgs/development/libraries/openimageio/default.nix index 4decdf16d38b..b9546713ffef 100644 --- a/pkgs/development/libraries/openimageio/default.nix +++ b/pkgs/development/libraries/openimageio/default.nix @@ -24,7 +24,7 @@ stdenv.mkDerivation rec { hash = "sha256-hUCwlzQW5mJH5HYPbLWOcupc36nxM12CV0sakZhiGzo="; }; - # Workaround broken zlib version detecion in CMake < 3.37. + # Workaround broken zlib version detection in CMake < 3.37. postPatch = '' substituteInPlace ./src/cmake/Config.cmake.in \ --replace " @ZLIB_VERSION@" "" diff --git a/pkgs/development/libraries/qgnomeplatform/default.nix b/pkgs/development/libraries/qgnomeplatform/default.nix index 270a6593c740..98bea95922e4 100644 --- a/pkgs/development/libraries/qgnomeplatform/default.nix +++ b/pkgs/development/libraries/qgnomeplatform/default.nix @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { }) # Backport cursor fix for Qt6 apps - # Ajusted from https://github.com/FedoraQt/QGnomePlatform/pull/138 + # Adjusted from https://github.com/FedoraQt/QGnomePlatform/pull/138 ./qt6-cursor-fix.patch ]; diff --git a/pkgs/development/libraries/quictls/default.nix b/pkgs/development/libraries/quictls/default.nix index a36d230fcbbc..245322bef108 100644 --- a/pkgs/development/libraries/quictls/default.nix +++ b/pkgs/development/libraries/quictls/default.nix @@ -134,7 +134,7 @@ stdenv.mkDerivation rec { # 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/zlib/default.nix b/pkgs/development/libraries/zlib/default.nix index 47b038358a32..e67d91224678 100644 --- a/pkgs/development/libraries/zlib/default.nix +++ b/pkgs/development/libraries/zlib/default.nix @@ -4,7 +4,7 @@ fetchurl, shared ? !stdenv.hostPlatform.isStatic, static ? true, - # If true, a separate .static ouput is created and the .a is moved there. + # If true, a separate .static output is created and the .a is moved there. # In this case `pkg-config` auto detection does not currently work if the # .static output is given as `buildInputs` to another package (#66461), because # the `.pc` file lists only the main output's lib dir. @@ -114,7 +114,7 @@ stdenv.mkDerivation (finalAttrs: { NIX_CFLAGS_COMPILE = "-static-libgcc"; } // lib.optionalAttrs (stdenv.hostPlatform.linker == "lld") { - # lld 16 enables --no-undefined-version by defualt + # lld 16 enables --no-undefined-version by default # This makes configure think it can't build dynamic libraries # this may be removed when a version is packaged with https://github.com/madler/zlib/issues/960 fixed NIX_LDFLAGS = "--undefined-version"; diff --git a/pkgs/development/ocaml-modules/ocaml-r/default.nix b/pkgs/development/ocaml-modules/ocaml-r/default.nix index 3a399d4d0dba..a2e0bca7092f 100644 --- a/pkgs/development/ocaml-modules/ocaml-r/default.nix +++ b/pkgs/development/ocaml-modules/ocaml-r/default.nix @@ -25,7 +25,7 @@ buildDunePackage rec { sha256 = "sha256-jPyVMxjeh9+xu0dD1gelAxcOhxouKczyvzVoKZ5oSrs="; }; - # Finds R and Rmathlib separatley + # Finds R and Rmathlib separately patches = [ (fetchpatch { url = "https://github.com/pveber/ocaml-r/commit/aa96dc5.patch"; diff --git a/pkgs/development/python-modules/asgi-csrf/default.nix b/pkgs/development/python-modules/asgi-csrf/default.nix index 9a74e7bceab7..58ce43e11407 100644 --- a/pkgs/development/python-modules/asgi-csrf/default.nix +++ b/pkgs/development/python-modules/asgi-csrf/default.nix @@ -6,7 +6,7 @@ # build-system setuptools, - # depedencies + # dependencies itsdangerous, python-multipart, diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index a22ab4afb9fa..2fe54fbad38c 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -19,7 +19,7 @@ pyerfa, pyyaml, - # optional-depedencies + # optional-dependencies scipy, matplotlib, ipython, diff --git a/pkgs/development/python-modules/babelfont/default.nix b/pkgs/development/python-modules/babelfont/default.nix index 48c5211dcdd0..4a2bdbef6da5 100644 --- a/pkgs/development/python-modules/babelfont/default.nix +++ b/pkgs/development/python-modules/babelfont/default.nix @@ -52,7 +52,7 @@ buildPythonPackage rec { pytestCheckHook ]; - # Want non exsiting test data + # Want non existing test data disabledTests = [ "test_rename" "test_rename_nested" diff --git a/pkgs/development/python-modules/bitsandbytes/default.nix b/pkgs/development/python-modules/bitsandbytes/default.nix index ab2d8cd55431..3dd4c485f7ef 100644 --- a/pkgs/development/python-modules/bitsandbytes/default.nix +++ b/pkgs/development/python-modules/bitsandbytes/default.nix @@ -61,7 +61,7 @@ buildPythonPackage { }; # By default, which library is loaded depends on the result of `torch.cuda.is_available()`. - # When `cudaSupport` is enabled, bypass this check and load the cuda library unconditionnally. + # When `cudaSupport` is enabled, bypass this check and load the cuda library unconditionally. # Indeed, in this case, only `libbitsandbytes_cuda124.so` is built. `libbitsandbytes_cpu.so` is not. # Also, hardcode the path to the previously built library instead of relying on # `get_cuda_bnb_library_path(cuda_specs)` which relies on `torch.cuda` too. diff --git a/pkgs/development/python-modules/conda-libmamba-solver/default.nix b/pkgs/development/python-modules/conda-libmamba-solver/default.nix index dcbe419854bc..209c7e443544 100644 --- a/pkgs/development/python-modules/conda-libmamba-solver/default.nix +++ b/pkgs/development/python-modules/conda-libmamba-solver/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { libmambapy ]; - # this package depends on conda for the import to run succesfully, but conda depends on this package to execute. + # this package depends on conda for the import to run successfully, but conda depends on this package to execute. # pythonImportsCheck = [ "conda_libmamba_solver" ]; pythonRemoveDeps = [ "conda" ]; diff --git a/pkgs/development/python-modules/cupy/default.nix b/pkgs/development/python-modules/cupy/default.nix index 16e2b58c3fab..c624ce1742ab 100644 --- a/pkgs/development/python-modules/cupy/default.nix +++ b/pkgs/development/python-modules/cupy/default.nix @@ -73,7 +73,7 @@ buildPythonPackage rec { fetchSubmodules = true; }; - # See https://docs.cupy.dev/en/v10.2.0/reference/environment.html. Seting both + # See https://docs.cupy.dev/en/v10.2.0/reference/environment.html. Setting both # CUPY_NUM_BUILD_JOBS and CUPY_NUM_NVCC_THREADS to NIX_BUILD_CORES results in # a small amount of thrashing but it turns out there are a large number of # very short builds and a few extremely long ones, so setting both ends up diff --git a/pkgs/development/python-modules/dask-image/default.nix b/pkgs/development/python-modules/dask-image/default.nix index 599e99853ad8..1c9e706633b7 100644 --- a/pkgs/development/python-modules/dask-image/default.nix +++ b/pkgs/development/python-modules/dask-image/default.nix @@ -60,7 +60,7 @@ buildPythonPackage rec { disabledTests = [ # The following tests are from 'tests/test_dask_image/test_ndmeasure/test_find_objects.py' and - # fail because of errrors on numpy slices + # fail because of errors on numpy slices # AttributeError: 'str' object has no attribute 'start' "test_find_objects" "test_3d_find_objects" diff --git a/pkgs/development/python-modules/databricks-sdk/default.nix b/pkgs/development/python-modules/databricks-sdk/default.nix index 63c6b8e74a78..c02d88744cf2 100644 --- a/pkgs/development/python-modules/databricks-sdk/default.nix +++ b/pkgs/development/python-modules/databricks-sdk/default.nix @@ -57,7 +57,7 @@ buildPythonPackage rec { disabledTests = [ # Require internet access - # ValueError: default auth: cannot configure default credentials, please chec... + # ValueError: default auth: cannot configure default credentials, please check... "test_azure_cli_does_not_specify_tenant_id_with_msi" "test_azure_cli_fallback" "test_azure_cli_user_no_management_access" diff --git a/pkgs/development/python-modules/decopatch/default.nix b/pkgs/development/python-modules/decopatch/default.nix index ec263a48aa09..814637801feb 100644 --- a/pkgs/development/python-modules/decopatch/default.nix +++ b/pkgs/development/python-modules/decopatch/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "decopatch" ]; - # Tests would introduce multiple cirucular dependencies + # Tests would introduce multiple circular dependencies # Affected: makefun, pytest-cases doCheck = false; diff --git a/pkgs/development/python-modules/deepdiff/default.nix b/pkgs/development/python-modules/deepdiff/default.nix index 8674a2ca2542..f347cc0a1a5b 100644 --- a/pkgs/development/python-modules/deepdiff/default.nix +++ b/pkgs/development/python-modules/deepdiff/default.nix @@ -53,7 +53,7 @@ buildPythonPackage rec { pythonRelaxDeps = [ # Upstream develops this package as well, and from some reason pins this # dependency to a patch version below this one. No significant changes - # happend in that relase, so we shouldn't worry, especially if tests pass. + # happend in that release, so we shouldn't worry, especially if tests pass. "orderly-set" ]; diff --git a/pkgs/development/python-modules/dict2xml/default.nix b/pkgs/development/python-modules/dict2xml/default.nix index 71f05cabd66f..c5a7ccd23b52 100644 --- a/pkgs/development/python-modules/dict2xml/default.nix +++ b/pkgs/development/python-modules/dict2xml/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { nativeBuildInputs = [ hatchling ]; - # Tests are inplemented in a custom DSL (RSpec) + # Tests are implemented in a custom DSL (RSpec) doCheck = false; pythonImportsCheck = [ "dict2xml" ]; diff --git a/pkgs/development/python-modules/django-filingcabinet/default.nix b/pkgs/development/python-modules/django-filingcabinet/default.nix index 93e6a18a3dbc..a0e10637956b 100644 --- a/pkgs/development/python-modules/django-filingcabinet/default.nix +++ b/pkgs/development/python-modules/django-filingcabinet/default.nix @@ -113,7 +113,7 @@ buildPythonPackage rec { # playwright._impl._errors.TimeoutError: Locator.click: Timeout 30000ms exceeded "test_sidebar_hide" "test_show_search_bar" - # Unable to lauch browser + # Unable to launch browser "test_document_viewer" ]; diff --git a/pkgs/development/python-modules/django-markdownx/default.nix b/pkgs/development/python-modules/django-markdownx/default.nix index 36f1d022a581..5203c067e0bf 100644 --- a/pkgs/development/python-modules/django-markdownx/default.nix +++ b/pkgs/development/python-modules/django-markdownx/default.nix @@ -31,7 +31,7 @@ buildPythonPackage rec { pillow ]; - # tests only executeable in vagrant + # tests only executable in vagrant doCheck = false; pythonImportsCheck = [ "markdownx" ]; diff --git a/pkgs/development/python-modules/django/5.nix b/pkgs/development/python-modules/django/5.nix index d04533cbf4a0..9bcc73c74152 100644 --- a/pkgs/development/python-modules/django/5.nix +++ b/pkgs/development/python-modules/django/5.nix @@ -63,7 +63,7 @@ buildPythonPackage rec { }) # prevent tests from messing with our pythonpath ./django_5_tests_pythonpath.patch - # disable test that excpects timezone issues + # disable test that expects timezone issues ./django_5_disable_failing_tests.patch # fix filename length limit tests on bcachefs diff --git a/pkgs/development/python-modules/dparse2/default.nix b/pkgs/development/python-modules/dparse2/default.nix index 2b1be8c8449f..6d0b23f28c54 100644 --- a/pkgs/development/python-modules/dparse2/default.nix +++ b/pkgs/development/python-modules/dparse2/default.nix @@ -32,7 +32,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ - # Requries pipenv + # Requires pipenv "tests/test_parse.py" ]; diff --git a/pkgs/development/python-modules/eth-hash/default.nix b/pkgs/development/python-modules/eth-hash/default.nix index cfd6365f6b1d..86ba11f3c019 100644 --- a/pkgs/development/python-modules/eth-hash/default.nix +++ b/pkgs/development/python-modules/eth-hash/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { # safe-pysha3 is not available on pypy ++ lib.optional (!isPyPy) optional-dependencies.pysha3; - # Backends need to be tested separatly and can not use hook + # Backends need to be tested separately and can not use hook checkPhase = '' runHook preCheck diff --git a/pkgs/development/python-modules/exrex/default.nix b/pkgs/development/python-modules/exrex/default.nix index ab54bd684f6f..7d71c84d483d 100644 --- a/pkgs/development/python-modules/exrex/default.nix +++ b/pkgs/development/python-modules/exrex/default.nix @@ -30,7 +30,7 @@ buildPythonPackage rec { dontWrapPythonPrograms = true; - # Projec thas no released tests + # Project thas no released tests doCheck = false; pythonImportsCheck = [ "exrex" ]; diff --git a/pkgs/development/python-modules/gfal2-util/fetchgfal2.nix b/pkgs/development/python-modules/gfal2-util/fetchgfal2.nix index d92cb9b96c06..00aa365f025b 100644 --- a/pkgs/development/python-modules/gfal2-util/fetchgfal2.nix +++ b/pkgs/development/python-modules/gfal2-util/fetchgfal2.nix @@ -4,7 +4,7 @@ gfal2-util, }: -# `url` and `urls` should only be overriden via `.override`, but not `.overrideAttrs`. +# `url` and `urls` should only be overridden via `.override`, but not `.overrideAttrs`. { name ? "", pname ? "", diff --git a/pkgs/development/python-modules/gftools/default.nix b/pkgs/development/python-modules/gftools/default.nix index 3c7cb896bca3..50780ad682e9 100644 --- a/pkgs/development/python-modules/gftools/default.nix +++ b/pkgs/development/python-modules/gftools/default.nix @@ -186,7 +186,7 @@ buildPythonPackage rec { nativeCheckInputs = [ pytestCheckHook ]; disabledTestPaths = [ - # Wants none exsiting module + # Wants none existing module "bin/test_args.py" # Requires internet "tests/push/test_items.py" diff --git a/pkgs/development/python-modules/grpcio-status/default.nix b/pkgs/development/python-modules/grpcio-status/default.nix index e621a4a6769d..9713e6a1ceed 100644 --- a/pkgs/development/python-modules/grpcio-status/default.nix +++ b/pkgs/development/python-modules/grpcio-status/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { protobuf ]; - # Projec thas no tests + # Project thas no tests doCheck = false; pythonImportsCheck = [ "grpc_status" ]; diff --git a/pkgs/development/python-modules/hatch-jupyter-builder/default.nix b/pkgs/development/python-modules/hatch-jupyter-builder/default.nix index 7a070285d382..1dd0336158fa 100644 --- a/pkgs/development/python-modules/hatch-jupyter-builder/default.nix +++ b/pkgs/development/python-modules/hatch-jupyter-builder/default.nix @@ -33,7 +33,7 @@ buildPythonPackage rec { ] ++ lib.optionals (pythonOlder "3.11") [ tomli ]; disabledTests = [ - # tests pip install, which unsuprisingly fails + # tests pip install, which unsurprisingly fails "test_hatch_build" ]; diff --git a/pkgs/development/python-modules/howdoi/default.nix b/pkgs/development/python-modules/howdoi/default.nix index abc35782cbc7..f87d61631abb 100644 --- a/pkgs/development/python-modules/howdoi/default.nix +++ b/pkgs/development/python-modules/howdoi/default.nix @@ -65,7 +65,7 @@ buildPythonPackage rec { disabledTests = [ "test_colorize" - # Tests are flaky, OSError: [Errno 24] Too many open files happpens + # Tests are flaky, OSError: [Errno 24] Too many open files happens "test_answer_links_using_l_option" "test_answers_bing" "test_answers" diff --git a/pkgs/development/python-modules/influxdb/default.nix b/pkgs/development/python-modules/influxdb/default.nix index b2270ef11248..356d68a88c97 100644 --- a/pkgs/development/python-modules/influxdb/default.nix +++ b/pkgs/development/python-modules/influxdb/default.nix @@ -70,7 +70,7 @@ buildPythonPackage rec { "test_write_points_from_dataframe_with_nan_json" "test_write_points_from_dataframe_with_tags_and_nan_json" "test_write_points_from_dataframe_with_numeric_precision" - # Reponse is not empty but `s = '孝'` and the JSON decoder chokes on that + # Response is not empty but `s = '孝'` and the JSON decoder chokes on that "test_query_with_empty_result" # Pandas API changes cause it to no longer infer datetimes in the expected manner "test_multiquery_into_dataframe" diff --git a/pkgs/development/python-modules/iniconfig/default.nix b/pkgs/development/python-modules/iniconfig/default.nix index 206faab7ae1d..07e0376545ce 100644 --- a/pkgs/development/python-modules/iniconfig/default.nix +++ b/pkgs/development/python-modules/iniconfig/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { nativeBuildInputs = [ hatchling ]; patches = [ - # Cannot use hatch-vcs, due to an inifinite recursion + # Cannot use hatch-vcs, due to an infinite recursion (replaceVars ./version.patch { inherit version; }) diff --git a/pkgs/development/python-modules/ipykernel/tests.nix b/pkgs/development/python-modules/ipykernel/tests.nix index 89ac0be2d3d6..57d8b0a5f492 100644 --- a/pkgs/development/python-modules/ipykernel/tests.nix +++ b/pkgs/development/python-modules/ipykernel/tests.nix @@ -36,7 +36,7 @@ buildPythonPackage { disabledTests = [ - # The follwing three tests fail for unclear reasons. + # The following three tests fail for unclear reasons. # pytest.PytestUnhandledThreadExceptionWarning: Exception in thread Thread-8 "test_asyncio_interrupt" diff --git a/pkgs/development/python-modules/jax/default.nix b/pkgs/development/python-modules/jax/default.nix index c649bf57f04f..c55806f46106 100644 --- a/pkgs/development/python-modules/jax/default.nix +++ b/pkgs/development/python-modules/jax/default.nix @@ -83,7 +83,7 @@ buildPythonPackage rec { # high parallelism will result in the tests getting stuck dontUsePytestXdist = true; - # NOTE: Don't run the tests in the expiremental directory as they require flax + # NOTE: Don't run the tests in the experimental directory as they require flax # which creates a circular dependency. See https://discourse.nixos.org/t/how-to-nix-ify-python-packages-with-circular-dependencies/14648/2. # Not a big deal, this is how the JAX docs suggest running the test suite # anyhow. diff --git a/pkgs/development/python-modules/jupyter-packaging/default.nix b/pkgs/development/python-modules/jupyter-packaging/default.nix index 622e923d1c27..517ccefadf5d 100644 --- a/pkgs/development/python-modules/jupyter-packaging/default.nix +++ b/pkgs/development/python-modules/jupyter-packaging/default.nix @@ -57,7 +57,7 @@ buildPythonPackage rec { # disable tests depending on network connection "test_develop" "test_install" - # Avoid unmainted "mocker" fixture library, and calls to dependent "build" module + # Avoid unmaintained "mocker" fixture library, and calls to dependent "build" module "test_build" "test_npm_build" "test_create_cmdclass" diff --git a/pkgs/development/python-modules/kombu/default.nix b/pkgs/development/python-modules/kombu/default.nix index c0cbb4a981d0..77f6eaa6e6fe 100644 --- a/pkgs/development/python-modules/kombu/default.nix +++ b/pkgs/development/python-modules/kombu/default.nix @@ -64,7 +64,7 @@ buildPythonPackage rec { ]; azureservicebus = [ azure-servicebus ]; confluentkafka = [ confluent-kafka ]; - # pyro4 doesn't suppport Python 3.11 + # pyro4 doesn't support Python 3.11 #pyro = [ # pyro4 #]; diff --git a/pkgs/development/python-modules/ldap3/default.nix b/pkgs/development/python-modules/ldap3/default.nix index 14534ef1d15a..518f879c916d 100644 --- a/pkgs/development/python-modules/ldap3/default.nix +++ b/pkgs/development/python-modules/ldap3/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { ''; patches = [ - # fix pyasn1 0.5.0 compability + # fix pyasn1 0.5.0 compatibility # https://github.com/cannatag/ldap3/pull/983 (fetchpatch { url = "https://github.com/cannatag/ldap3/commit/ca689f4893b944806f90e9d3be2a746ee3c502e4.patch"; diff --git a/pkgs/development/python-modules/librosa/default.nix b/pkgs/development/python-modules/librosa/default.nix index c8489e4a97e8..2bbd56eb15bb 100644 --- a/pkgs/development/python-modules/librosa/default.nix +++ b/pkgs/development/python-modules/librosa/default.nix @@ -139,7 +139,7 @@ buildPythonPackage rec { license = lib.licenses.isc; maintainers = with lib.maintainers; [ GuillaumeDesforges ]; badPlatforms = [ - # Several non-deterministic occurances of "Fatal Python error: Segmentation fault", both in + # Several non-deterministic occurrences of "Fatal Python error: Segmentation fault", both in # numpy's and in this package's code. "aarch64-linux" ]; diff --git a/pkgs/development/python-modules/lightwave/default.nix b/pkgs/development/python-modules/lightwave/default.nix index 621f413ca885..514b3349e029 100644 --- a/pkgs/development/python-modules/lightwave/default.nix +++ b/pkgs/development/python-modules/lightwave/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "lightwave" ]; - # Requires phyiscal hardware + # Requires physical hardware doCheck = false; meta = with lib; { diff --git a/pkgs/development/python-modules/lineax/default.nix b/pkgs/development/python-modules/lineax/default.nix index f9f0edd9d4fd..8f6a41af46d8 100644 --- a/pkgs/development/python-modules/lineax/default.nix +++ b/pkgs/development/python-modules/lineax/default.nix @@ -58,7 +58,7 @@ buildPythonPackage rec { pytest ]; - # Intentionaly not using pytest directly as it leads to JAX out-of-memory'ing + # Intentionally not using pytest directly as it leads to JAX out-of-memory'ing # https://github.com/patrick-kidger/lineax/blob/1909d190c1963d5f2d991508c1b2714f2266048b/tests/README.md checkPhase = '' runHook preCheck diff --git a/pkgs/development/python-modules/llguidance/default.nix b/pkgs/development/python-modules/llguidance/default.nix index 4639c08ed983..bcdf40616d43 100644 --- a/pkgs/development/python-modules/llguidance/default.nix +++ b/pkgs/development/python-modules/llguidance/default.nix @@ -89,7 +89,7 @@ buildPythonPackage rec { "scripts/tokenizer_test.py" ]; - # As dynamo is not supported on Python 3.13+, no successfull tests remain. + # As dynamo is not supported on Python 3.13+, no successful tests remain. doCheck = pythonOlder "3.13"; meta = { diff --git a/pkgs/development/python-modules/manifest-ml/default.nix b/pkgs/development/python-modules/manifest-ml/default.nix index f5a4eb315d52..3772b33f2a29 100644 --- a/pkgs/development/python-modules/manifest-ml/default.nix +++ b/pkgs/development/python-modules/manifest-ml/default.nix @@ -107,7 +107,7 @@ buildPythonPackage rec { "test_run_chat" "test_run" "test_score_run" - # Test is time-senstive + # Test is time-sensitive "test_timing" ]; diff --git a/pkgs/development/python-modules/manim/default.nix b/pkgs/development/python-modules/manim/default.nix index ce0268daca80..c5cf6b8408e0 100644 --- a/pkgs/development/python-modules/manim/default.nix +++ b/pkgs/development/python-modules/manim/default.nix @@ -56,7 +56,7 @@ let # # https://community.chocolatey.org/packages/manim-latex#files # - # which includes another cutom distribution called tinytex, for which the + # which includes another custom distribution called tinytex, for which the # package list can be found at # # https://github.com/yihui/tinytex/blob/master/tools/pkgs-custom.txt diff --git a/pkgs/development/python-modules/manim/failing_tests.nix b/pkgs/development/python-modules/manim/failing_tests.nix index ac788c25be20..279950f6cb4f 100644 --- a/pkgs/development/python-modules/manim/failing_tests.nix +++ b/pkgs/development/python-modules/manim/failing_tests.nix @@ -83,7 +83,7 @@ # TypeError: __init__() got an unexpected keyword argument 'msg' - maybe you meant pytest.mark.skipif? "test_force_window_opengl_render_with_movies" - # mismatching expecation on the new commandline + # mismatching expectation on the new commandline "test_manim_new_command" # This tests checks if the manim executable is a python script. In our case it is not. diff --git a/pkgs/development/python-modules/matplotlib/default.nix b/pkgs/development/python-modules/matplotlib/default.nix index 06078a2b9b4f..a8e2768f1fbd 100644 --- a/pkgs/development/python-modules/matplotlib/default.nix +++ b/pkgs/development/python-modules/matplotlib/default.nix @@ -21,7 +21,7 @@ ffmpeg-headless, freetype, # By default, almost all tests fail due to the fact we use our version of - # freetype. We still define use this argument to define the overriden + # freetype. We still use this argument to define the overridden # derivation `matplotlib.passthru.tests.withoutOutdatedFreetype` - which # builds matplotlib with the freetype version they default to, with which all # tests should pass. diff --git a/pkgs/development/python-modules/motionblindsble/default.nix b/pkgs/development/python-modules/motionblindsble/default.nix index fa33b39fb6bb..8c1e2d3523d1 100644 --- a/pkgs/development/python-modules/motionblindsble/default.nix +++ b/pkgs/development/python-modules/motionblindsble/default.nix @@ -46,7 +46,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "motionblindsble" ]; disabledTests = [ - # AssertionEror + # AssertionError "test_establish_connection" ]; diff --git a/pkgs/development/python-modules/notebook-shim/default.nix b/pkgs/development/python-modules/notebook-shim/default.nix index 34b74dd1c2b1..216afbb96da5 100644 --- a/pkgs/development/python-modules/notebook-shim/default.nix +++ b/pkgs/development/python-modules/notebook-shim/default.nix @@ -29,7 +29,7 @@ buildPythonPackage rec { ''; # TODO: understand & possibly fix why tests fail. On github most testfiles - # have been comitted with msgs "wip" though. + # have been committed with msgs "wip" though. doCheck = false; nativeCheckInputs = [ diff --git a/pkgs/development/python-modules/objax/default.nix b/pkgs/development/python-modules/objax/default.nix index 2d1244619d2a..fa75906b2a06 100644 --- a/pkgs/development/python-modules/objax/default.nix +++ b/pkgs/development/python-modules/objax/default.nix @@ -52,7 +52,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "objax" ]; - # This is necessay to ignore the presence of two protobufs version (tensorflow is bringing an + # This is necessary to ignore the presence of two protobufs version (tensorflow is bringing an # older version). catchConflicts = false; diff --git a/pkgs/development/python-modules/oldest-supported-numpy/default.nix b/pkgs/development/python-modules/oldest-supported-numpy/default.nix index 521094a8e4c0..4cd90976e8d7 100644 --- a/pkgs/development/python-modules/oldest-supported-numpy/default.nix +++ b/pkgs/development/python-modules/oldest-supported-numpy/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { # The purpose of oldest-supported-numpy is to build a project against the # oldest version of numpy for a given Python distribution in order to build - # a binary that is compatible with the largest possible versons of numpy. + # a binary that is compatible with the largest possible versions of numpy. # We only build against one version of numpy in nixpkgs, so instead we only # want to make sure that we have a version above the minimum. # diff --git a/pkgs/development/python-modules/onnxruntime/default.nix b/pkgs/development/python-modules/onnxruntime/default.nix index 90df4cb2aff0..1de9d7d92c42 100644 --- a/pkgs/development/python-modules/onnxruntime/default.nix +++ b/pkgs/development/python-modules/onnxruntime/default.nix @@ -52,7 +52,7 @@ buildPythonPackage { onnxruntime.protobuf # https://github.com/NixOS/nixpkgs/pull/357656 patches the onnx lib to ${pkgs.onnxruntime}/lib - # but these files are copied into this package too. If the origional non-python onnxruntime + # but these files are copied into this package too. If the original non-python onnxruntime # package is GC-ed, cuda support in this python package will break. # Two options, rebuild onnxruntime twice with the different paths hard-coded, or just hold a runtime # dependency between the two. Option 2, because onnxruntime takes forever to build with cuda support. diff --git a/pkgs/development/python-modules/pefile/default.nix b/pkgs/development/python-modules/pefile/default.nix index 34b0970ce545..5a6aa99e462e 100644 --- a/pkgs/development/python-modules/pefile/default.nix +++ b/pkgs/development/python-modules/pefile/default.nix @@ -21,7 +21,7 @@ buildPythonPackage rec { build-system = [ setuptools ]; - # Test data contains properitary executables and malware, and is therefore encrypted + # Test data contains proprietary executables and malware, and is therefore encrypted doCheck = false; pythonImportsCheck = [ "pefile" ]; diff --git a/pkgs/development/python-modules/plotnine/default.nix b/pkgs/development/python-modules/plotnine/default.nix index 53a0d1e6d940..98e168fd2cf5 100644 --- a/pkgs/development/python-modules/plotnine/default.nix +++ b/pkgs/development/python-modules/plotnine/default.nix @@ -103,7 +103,7 @@ buildPythonPackage rec { "tests/test_stat_summary.py" "tests/test_theme.py" - # Linting / formatting: useless as it has nothing to do with the package functionning + # Linting / formatting: useless as it has nothing to do with the package functioning # Disabling this prevents adding a dependency on 'ruff' and 'black'. "tests/test_lint_and_format.py" ]; diff --git a/pkgs/development/python-modules/pmdsky-debug-py/default.nix b/pkgs/development/python-modules/pmdsky-debug-py/default.nix index 436a8bbd15dd..3e4eb695bde8 100644 --- a/pkgs/development/python-modules/pmdsky-debug-py/default.nix +++ b/pkgs/development/python-modules/pmdsky-debug-py/default.nix @@ -5,7 +5,7 @@ setuptools, }: -#This package is auto-generated. It could totally be possible to generate it from upstream, but seems unecessary +#This package is auto-generated. It could totally be possible to generate it from upstream, but seems unnecessary buildPythonPackage rec { pname = "pmdsky-debug-py"; version = "10.0.21"; diff --git a/pkgs/development/python-modules/psutil/default.nix b/pkgs/development/python-modules/psutil/default.nix index 0292027a607b..4e1cbc07fd08 100644 --- a/pkgs/development/python-modules/psutil/default.nix +++ b/pkgs/development/python-modules/psutil/default.nix @@ -49,7 +49,7 @@ buildPythonPackage rec { # In addition to the issues listed above there are some that occure due to # our sandboxing which we can work around by disabling some tests: # - cpu_times was flaky on darwin - # - the other disabled tests are likely due to sanboxing (missing specific errors) + # - the other disabled tests are likely due to sandboxing (missing specific errors) pytestFlagsArray = [ # Note: $out must be referenced as test import paths are relative "${placeholder "out"}/${python.sitePackages}/psutil/tests/test_system.py" diff --git a/pkgs/development/python-modules/pueblo/default.nix b/pkgs/development/python-modules/pueblo/default.nix index 3715506eacbf..926b16e96e26 100644 --- a/pkgs/development/python-modules/pueblo/default.nix +++ b/pkgs/development/python-modules/pueblo/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { disabled = pythonOlder "3.11"; - # This tarball doesn't include tests unfortuneatly, and the GitHub tarball + # This tarball doesn't include tests unfortunately, and the GitHub tarball # could have been an alternative, but versioningit fails to detect the # version of it correctly, even with setuptools-scm and # SETUPTOOLS_SCM_PRETEND_VERSION = version added. Since this is a pure Python diff --git a/pkgs/development/python-modules/pulumi-aws/default.nix b/pkgs/development/python-modules/pulumi-aws/default.nix index 6ae572b9cd2a..30983db1986b 100644 --- a/pkgs/development/python-modules/pulumi-aws/default.nix +++ b/pkgs/development/python-modules/pulumi-aws/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { pname = "pulumi-aws"; - # Version is independant of pulumi's. + # Version is independent of pulumi's. version = "6.66.3"; pyproject = true; diff --git a/pkgs/development/python-modules/pybigwig/default.nix b/pkgs/development/python-modules/pybigwig/default.nix index d41e35613eb1..0d475d688674 100644 --- a/pkgs/development/python-modules/pybigwig/default.nix +++ b/pkgs/development/python-modules/pybigwig/default.nix @@ -34,7 +34,7 @@ buildPythonPackage rec { pytestFlagsArray = [ "pyBigWigTest/test*.py" ]; disabledTests = [ - # Test file is donwloaded from GitHub + # Test file is downloaded from GitHub "testAll" "testBigBed" "testFoo" diff --git a/pkgs/development/python-modules/pycomm3/default.nix b/pkgs/development/python-modules/pycomm3/default.nix index c6dc04bf7be0..6281802e3786 100644 --- a/pkgs/development/python-modules/pycomm3/default.nix +++ b/pkgs/development/python-modules/pycomm3/default.nix @@ -28,7 +28,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "pycomm3" ]; disabledTestPaths = [ - # Don't test examples as some have aditional requirements + # Don't test examples as some have additional requirements "examples/" # No physical PLC available "tests/online/" diff --git a/pkgs/development/python-modules/pyflic/default.nix b/pkgs/development/python-modules/pyflic/default.nix index 09b80a3aaf14..f780c16cd144 100644 --- a/pkgs/development/python-modules/pyflic/default.nix +++ b/pkgs/development/python-modules/pyflic/default.nix @@ -18,7 +18,7 @@ buildPythonPackage rec { sha256 = "sha256-K1trMBZfc1aHSNSddq0v//Gv8ySgT/ONQYgrKWzw2qs="; }; - # Projec thas no tests + # Project thas no tests doCheck = false; pythonImportsCheck = [ "pyflic" ]; diff --git a/pkgs/development/python-modules/pyls-memestra/default.nix b/pkgs/development/python-modules/pyls-memestra/default.nix index 5baf644630c4..c48a60b11495 100644 --- a/pkgs/development/python-modules/pyls-memestra/default.nix +++ b/pkgs/development/python-modules/pyls-memestra/default.nix @@ -27,7 +27,7 @@ buildPythonPackage rec { python-lsp-server ]; - # Tests fail because they rely on writting to read-only files + # Tests fail because they rely on writing to read-only files doCheck = false; pythonImportsCheck = [ "pyls_memestra" ]; diff --git a/pkgs/development/python-modules/pymitv/default.nix b/pkgs/development/python-modules/pymitv/default.nix index a5f14cbfebfc..e68fc984383f 100644 --- a/pkgs/development/python-modules/pymitv/default.nix +++ b/pkgs/development/python-modules/pymitv/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ requests ]; - # Projec thas no tests + # Project thas no tests doCheck = false; pythonImportsCheck = [ "pymitv" ]; diff --git a/pkgs/development/python-modules/pyskyqhub/default.nix b/pkgs/development/python-modules/pyskyqhub/default.nix index 95aedea3d074..ee460a27f566 100644 --- a/pkgs/development/python-modules/pyskyqhub/default.nix +++ b/pkgs/development/python-modules/pyskyqhub/default.nix @@ -22,7 +22,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ aiohttp ]; - # Tests require phyiscal hardware + # Tests require physical hardware doCheck = false; pythonImportsCheck = [ "pyskyqhub" ]; diff --git a/pkgs/development/python-modules/pysnow/default.nix b/pkgs/development/python-modules/pysnow/default.nix index 1a7c541daea0..80897afcf851 100644 --- a/pkgs/development/python-modules/pysnow/default.nix +++ b/pkgs/development/python-modules/pysnow/default.nix @@ -45,7 +45,7 @@ buildPythonPackage rec { ]; patches = [ - # Switch to peotry-core, https://github.com/rbw/pysnow/pull/183 + # Switch to poetry-core, https://github.com/rbw/pysnow/pull/183 (fetchpatch { name = "switch-to-poetry-core.patch"; url = "https://github.com/rbw/pysnow/commit/f214a203432b329df5317f3a25b2c0d9b55a9029.patch"; diff --git a/pkgs/development/python-modules/pytest-pytestrail/default.nix b/pkgs/development/python-modules/pytest-pytestrail/default.nix index 63c0d3735f38..99c2c8786673 100644 --- a/pkgs/development/python-modules/pytest-pytestrail/default.nix +++ b/pkgs/development/python-modules/pytest-pytestrail/default.nix @@ -25,7 +25,7 @@ buildPythonPackage rec { propagatedBuildInputs = [ testrail-api ]; - # all tests require network accesss + # all tests require network access doCheck = false; pythonImportsCheck = [ "pytest_pytestrail" ]; diff --git a/pkgs/development/python-modules/pytest-server-fixtures/default.nix b/pkgs/development/python-modules/pytest-server-fixtures/default.nix index eddc3fc06fa9..ff3b1f46601f 100644 --- a/pkgs/development/python-modules/pytest-server-fixtures/default.nix +++ b/pkgs/development/python-modules/pytest-server-fixtures/default.nix @@ -35,7 +35,7 @@ buildPythonPackage { six ]; - # Don't run intergration tests + # Don't run integration tests doCheck = false; meta = with lib; { diff --git a/pkgs/development/python-modules/python3-saml/default.nix b/pkgs/development/python-modules/python3-saml/default.nix index 4e456405cad8..5a01cd3c8778 100644 --- a/pkgs/development/python-modules/python3-saml/default.nix +++ b/pkgs/development/python-modules/python3-saml/default.nix @@ -51,7 +51,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "onelogin.saml2" ]; disabledTests = [ - # Tests require network acces or additions files + # Tests require network access or additions files "OneLogin_Saml2_Metadata_Test" "OneLogin_Saml2_Response_Test" "OneLogin_Saml2_Utils_Test" diff --git a/pkgs/development/python-modules/qutip/default.nix b/pkgs/development/python-modules/qutip/default.nix index 28d8d16087e7..dfed5e2a7ff8 100644 --- a/pkgs/development/python-modules/qutip/default.nix +++ b/pkgs/development/python-modules/qutip/default.nix @@ -40,7 +40,7 @@ buildPythonPackage rec { }; postPatch = - # build-time constriant, used to ensure forward and backward compat + # build-time constraint, used to ensure forward and backward compat '' substituteInPlace pyproject.toml setup.cfg \ --replace-fail "numpy>=2.0.0" "numpy" diff --git a/pkgs/development/python-modules/rcssmin/default.nix b/pkgs/development/python-modules/rcssmin/default.nix index 21c9197e0673..17db349ccc67 100644 --- a/pkgs/development/python-modules/rcssmin/default.nix +++ b/pkgs/development/python-modules/rcssmin/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { hash = "sha256-9DaHJBLPpvBP/5kMYyIkaxOqOJ9gMjuWNYPtYQLXyEw="; }; - # The package does not ship tests, and the setup machinary confuses + # The package does not ship tests, and the setup machinery confuses # tests auto-discovery doCheck = false; diff --git a/pkgs/development/python-modules/rjsmin/default.nix b/pkgs/development/python-modules/rjsmin/default.nix index c48b87d54094..dc185c53b060 100644 --- a/pkgs/development/python-modules/rjsmin/default.nix +++ b/pkgs/development/python-modules/rjsmin/default.nix @@ -17,7 +17,7 @@ buildPythonPackage rec { hash = "sha256-E4i1JJOkwE+8lwotdXwwH6BaPDdkAxTCzp38jYpzDMY="; }; - # The package does not ship tests, and the setup machinary confuses + # The package does not ship tests, and the setup machinery confuses # tests auto-discovery doCheck = false; diff --git a/pkgs/development/python-modules/rki-covid-parser/default.nix b/pkgs/development/python-modules/rki-covid-parser/default.nix index beeeb3c4c5f7..655767690105 100644 --- a/pkgs/development/python-modules/rki-covid-parser/default.nix +++ b/pkgs/development/python-modules/rki-covid-parser/default.nix @@ -35,7 +35,7 @@ buildPythonPackage rec { ]; disabledTestPaths = [ - # Tests require netowrk access + # Tests require network access "tests/test_districts.py" "tests/test_endpoint_availibility.py" ]; diff --git a/pkgs/development/python-modules/seabreeze/default.nix b/pkgs/development/python-modules/seabreeze/default.nix index af7c85863eb5..f662e223b1e2 100644 --- a/pkgs/development/python-modules/seabreeze/default.nix +++ b/pkgs/development/python-modules/seabreeze/default.nix @@ -14,7 +14,7 @@ numpy, libusb-compat-0_1, - # optional-dependenices + # optional-dependencies pyusb, # tests diff --git a/pkgs/development/python-modules/sentry-sdk/1.nix b/pkgs/development/python-modules/sentry-sdk/1.nix index c50af450b272..ca67a5e873f7 100644 --- a/pkgs/development/python-modules/sentry-sdk/1.nix +++ b/pkgs/development/python-modules/sentry-sdk/1.nix @@ -112,7 +112,7 @@ buildPythonPackage rec { disabledTestPaths = [ - # Varius integration tests fail every once in a while when we + # Various integration tests fail every once in a while when we # upgrade dependencies, so don't bother testing them. "tests/integrations/" ] diff --git a/pkgs/development/python-modules/sip/4.x.nix b/pkgs/development/python-modules/sip/4.x.nix index 8dc26ddfdc0d..8420f3a3a6f4 100644 --- a/pkgs/development/python-modules/sip/4.x.nix +++ b/pkgs/development/python-modules/sip/4.x.nix @@ -48,9 +48,9 @@ buildPythonPackage rec { pythonImportsCheck = [ # https://www.riverbankcomputing.com/pipermail/pyqt/2023-January/045094.html - # the import check for "sip" will fail, as it segfaults as the interperter is shutting down. + # the import check for "sip" will fail, as it segfaults as the interpreter is shutting down. # This is an upstream bug with sip4 on python3.12, and happens in the ubuntu packages version as well. - # As the pacakge works fine until exit, just remove the import check for now. + # As the package works fine until exit, just remove the import check for now. # See discussion at https://github.com/NixOS/nixpkgs/pull/327976#discussion_r1706488319 (lib.optional (pythonOlder "3.12") sip-module) diff --git a/pkgs/development/python-modules/skytemple-files/default.nix b/pkgs/development/python-modules/skytemple-files/default.nix index 5baa8bb7405f..3d68f501919c 100644 --- a/pkgs/development/python-modules/skytemple-files/default.nix +++ b/pkgs/development/python-modules/skytemple-files/default.nix @@ -14,7 +14,7 @@ pmdsky-debug-py, range-typed-integers, pythonOlder, - # optional dependancies for SpriteCollab + # optional dependencies for SpriteCollab aiohttp, lru-dict, graphql-core, diff --git a/pkgs/development/python-modules/spacy-loggers/default.nix b/pkgs/development/python-modules/spacy-loggers/default.nix index 8ac6396cf0ab..fd791827d522 100644 --- a/pkgs/development/python-modules/spacy-loggers/default.nix +++ b/pkgs/development/python-modules/spacy-loggers/default.nix @@ -23,7 +23,7 @@ buildPythonPackage rec { pythonImportsCheck = [ "spacy_loggers" ]; - # skipping the checks, becaus it requires a cycle dependency to spacy as well. + # skipping the checks, because it requires a cycle dependency to spacy as well. doCheck = false; meta = with lib; { diff --git a/pkgs/development/python-modules/sphinx-version-warning/default.nix b/pkgs/development/python-modules/sphinx-version-warning/default.nix index 771b674c18de..22ccb2d67599 100644 --- a/pkgs/development/python-modules/sphinx-version-warning/default.nix +++ b/pkgs/development/python-modules/sphinx-version-warning/default.nix @@ -15,7 +15,7 @@ }: # Latest tagged release release "1.1.2" (Nov 2018) does not contain -# documenation, it was added in commits Aug 10, 2019. Repository does not have +# documentation, it was added in commits Aug 10, 2019. Repository does not have # any activity since then. buildPythonPackage { pname = "sphinx-version-warning"; diff --git a/pkgs/development/python-modules/stm32loader/default.nix b/pkgs/development/python-modules/stm32loader/default.nix index b27d221d75f4..10d5e35c6e2d 100644 --- a/pkgs/development/python-modules/stm32loader/default.nix +++ b/pkgs/development/python-modules/stm32loader/default.nix @@ -7,7 +7,7 @@ # build-system flit-core, - # dependenices + # dependencies progress, pyserial, diff --git a/pkgs/development/python-modules/torchaudio/default.nix b/pkgs/development/python-modules/torchaudio/default.nix index a56d4df7d0cc..4c64ba3c9275 100644 --- a/pkgs/development/python-modules/torchaudio/default.nix +++ b/pkgs/development/python-modules/torchaudio/default.nix @@ -25,7 +25,7 @@ let # TODO: Reuse one defined in torch? - # Some of those dependencies are probbly not required, + # Some of those dependencies are probably not required, # but it breaks when the store path is different between torch and torchaudio rocmtoolkit_joined = symlinkJoin { name = "rocm-merged"; diff --git a/pkgs/development/python-modules/tree-sitter-languages/default.nix b/pkgs/development/python-modules/tree-sitter-languages/default.nix index 9636b3dc9535..0e6ae4e47530 100644 --- a/pkgs/development/python-modules/tree-sitter-languages/default.nix +++ b/pkgs/development/python-modules/tree-sitter-languages/default.nix @@ -20,7 +20,7 @@ buildPythonPackage rec { rev = "v${version}"; hash = "sha256-wKU2c8QRBKFVFqg+DAeH5+cwm5jpDLmPZG3YBUsh/lM="; # Use git, to also fetch tree-sitter repositories that upstream puts their - # hases in the repository as well, in repos.txt. + # hashes in the repository as well, in repos.txt. forceFetchGit = true; postFetch = '' cd $out diff --git a/pkgs/development/python-modules/treq/default.nix b/pkgs/development/python-modules/treq/default.nix index aa313179af97..7138ea063672 100644 --- a/pkgs/development/python-modules/treq/default.nix +++ b/pkgs/development/python-modules/treq/default.nix @@ -7,7 +7,7 @@ incremental, setuptools, - # dependenices + # dependencies attrs, hyperlink, requests, diff --git a/pkgs/development/python-modules/upass/default.nix b/pkgs/development/python-modules/upass/default.nix index 616afc78bcd4..9dbbe1b8bf4f 100644 --- a/pkgs/development/python-modules/upass/default.nix +++ b/pkgs/development/python-modules/upass/default.nix @@ -26,7 +26,7 @@ buildPythonPackage rec { urwid ]; - # Projec thas no tests + # Project thas no tests doCheck = false; postInstall = '' diff --git a/pkgs/development/python-modules/verlib2/default.nix b/pkgs/development/python-modules/verlib2/default.nix index 47c9d5f21aa2..05a7f3cb3fa2 100644 --- a/pkgs/development/python-modules/verlib2/default.nix +++ b/pkgs/development/python-modules/verlib2/default.nix @@ -11,7 +11,7 @@ buildPythonPackage rec { version = "0.2.1"; pyproject = true; - # This tarball doesn't include tests unfortuneatly, and the GitHub tarball + # This tarball doesn't include tests unfortunately, and the GitHub tarball # could have been an alternative, but versioningit fails to detect the # version of it correctly, even with setuptools-scm and # SETUPTOOLS_SCM_PRETEND_VERSION = version added. Since this is a pure Python diff --git a/pkgs/development/python-modules/xmind/default.nix b/pkgs/development/python-modules/xmind/default.nix index cd1510b263c5..3b5565955bdd 100644 --- a/pkgs/development/python-modules/xmind/default.nix +++ b/pkgs/development/python-modules/xmind/default.nix @@ -19,7 +19,7 @@ buildPythonPackage rec { sha256 = "xC1WpHz2eHb5+xShM/QUQAIYnJNyK1EKWbTXJKhDwbQ="; }; - # Projec thas no tests + # Project thas no tests doCheck = false; pythonImportsCheck = [ "xmind" ]; diff --git a/pkgs/development/rocm-modules/6/rocgdb/default.nix b/pkgs/development/rocm-modules/6/rocgdb/default.nix index cf51f05f9ee4..93484b42c40f 100644 --- a/pkgs/development/rocm-modules/6/rocgdb/default.nix +++ b/pkgs/development/rocm-modules/6/rocgdb/default.nix @@ -50,7 +50,7 @@ stdenv.mkDerivation (finalAttrs: { ]; configureFlags = [ - # Ensure we build the amdgpu traget + # Ensure we build the amdgpu target "--enable-targets=${stdenv.targetPlatform.config},amdgcn-amd-amdhsa" "--with-amd-dbgapi=yes" diff --git a/pkgs/development/ruby-modules/bundler-app/default.nix b/pkgs/development/ruby-modules/bundler-app/default.nix index 6826682bf493..0a0b5818f375 100644 --- a/pkgs/development/ruby-modules/bundler-app/default.nix +++ b/pkgs/development/ruby-modules/bundler-app/default.nix @@ -14,7 +14,7 @@ # Then use rubyTool in the default.nix: # rubyTool { pname = "gemifiedTool"; gemdir = ./.; exes = ["gemified-tool"]; } -# The 'exes' parameter ensures that a copy of e.g. rake doesn't polute the system. +# The 'exes' parameter ensures that a copy of e.g. rake doesn't pollute the system. { # use the name of the name in question; its version will be picked up from the gemset pname, diff --git a/pkgs/development/ruby-modules/gem/default.nix b/pkgs/development/ruby-modules/gem/default.nix index f819173867c0..dd517b2a5d6b 100644 --- a/pkgs/development/ruby-modules/gem/default.nix +++ b/pkgs/development/ruby-modules/gem/default.nix @@ -1,7 +1,7 @@ # This builds gems in a way that is compatible with bundler. # # Bundler installs gems from git sources _very_ differently from how RubyGems -# installes gem packages, though they both install gem packages similarly. +# installs gem packages, though they both install gem packages similarly. # # We monkey-patch Bundler to remove any impurities and then drive its internals # to install git gems. diff --git a/pkgs/development/skaware-packages/build-skaware-package.nix b/pkgs/development/skaware-packages/build-skaware-package.nix index 2bb9340e6579..75a9716cb109 100644 --- a/pkgs/development/skaware-packages/build-skaware-package.nix +++ b/pkgs/development/skaware-packages/build-skaware-package.nix @@ -85,7 +85,7 @@ stdenv.mkDerivation { lib.assertMsg (!lib.elem "man" outputs) "If you pass `manpages` to `skawarePackages.buildPackage`, you cannot have a `man` output already!" ); - # insert as early as posible, but keep the first element + # insert as early as possible, but keep the first element if lib.length outputs > 0 then [ (lib.head outputs) diff --git a/pkgs/development/tools/electron/chromedriver/generic.nix b/pkgs/development/tools/electron/chromedriver/generic.nix index cebc3fe9bb68..f04e1a91ce82 100644 --- a/pkgs/development/tools/electron/chromedriver/generic.nix +++ b/pkgs/development/tools/electron/chromedriver/generic.nix @@ -94,7 +94,7 @@ let dontUnpack = true; dontBuild = true; - # darwin distributions come with libffmpeg dependecy + icudtl.dat file + # darwin distributions come with libffmpeg dependency + icudtl.dat file installPhase = '' runHook preInstall unzip $src diff --git a/pkgs/development/tools/misc/texinfo/common.nix b/pkgs/development/tools/misc/texinfo/common.nix index 35b34db5a88b..e9d6d474e0a5 100644 --- a/pkgs/development/tools/misc/texinfo/common.nix +++ b/pkgs/development/tools/misc/texinfo/common.nix @@ -13,7 +13,7 @@ libiconv, xz, - # we are a dependency of gcc, this simplifies bootstraping + # we are a dependency of gcc, this simplifies bootstrapping interactive ? false, ncurses, procps, diff --git a/pkgs/development/tools/misc/texinfo/packages.nix b/pkgs/development/tools/misc/texinfo/packages.nix index b0ff25deebcf..2d5a798d7f21 100644 --- a/pkgs/development/tools/misc/texinfo/packages.nix +++ b/pkgs/development/tools/misc/texinfo/packages.nix @@ -14,7 +14,7 @@ libiconv, xz, - # we are a dependency of gcc, this simplifies bootstraping + # we are a dependency of gcc, this simplifies bootstrapping interactive ? false, ncurses, procps, diff --git a/pkgs/development/tools/rtags/default.nix b/pkgs/development/tools/rtags/default.nix index b0f2ea730331..39fd3f726caf 100644 --- a/pkgs/development/tools/rtags/default.nix +++ b/pkgs/development/tools/rtags/default.nix @@ -45,7 +45,7 @@ stdenv.mkDerivation rec { ''; }; - # This should be fixed with the next verison bump + # This should be fixed with the next version bump # https://github.com/Andersbakken/rtags/issues/1411 patches = [ (fetchpatch { diff --git a/pkgs/games/dwarf-fortress/game.nix b/pkgs/games/dwarf-fortress/game.nix index 927c501bb413..6d7b27120555 100644 --- a/pkgs/games/dwarf-fortress/game.nix +++ b/pkgs/games/dwarf-fortress/game.nix @@ -35,7 +35,7 @@ let ; # Map Dwarf Fortress platform names to Nixpkgs platform names. - # Other srcs are avilable like 32-bit mac & win, but I have only + # Other srcs are available like 32-bit mac & win, but I have only # included the ones most likely to be needed by Nixpkgs users. platforms = { x86_64-linux = "linux"; diff --git a/pkgs/games/gscrabble/default.nix b/pkgs/games/gscrabble/default.nix index 95146c8f8804..f9ee4c923387 100644 --- a/pkgs/games/gscrabble/default.nix +++ b/pkgs/games/gscrabble/default.nix @@ -49,7 +49,7 @@ buildPythonApplication { ''; meta = with lib; { - # Fails to build, propably incompatible with latest Python + # Fails to build, probably incompatible with latest Python # error: Multiple top-level packages discovered in a flat-layout # https://github.com/RaaH/gscrabble/issues/13 broken = true; diff --git a/pkgs/games/openra_2019/default.nix b/pkgs/games/openra_2019/default.nix index 77b2da8ad525..e2e8c2eac202 100644 --- a/pkgs/games/openra_2019/default.nix +++ b/pkgs/games/openra_2019/default.nix @@ -13,7 +13,7 @@ let /* Building an engine or out-of-tree mod is very similar, but different enough not to be able to build them with the same package definition, - so instaed we define what is common between them in a separate file. + so instead we define what is common between them in a separate file. Although `callPackage` could be used, it would require undoing `makeOverridable`, because `common.nix` does not define a package, but just an attribute set, diff --git a/pkgs/games/openra_2019/engine.nix b/pkgs/games/openra_2019/engine.nix index d5d79ede9a44..ae207f24729c 100644 --- a/pkgs/games/openra_2019/engine.nix +++ b/pkgs/games/openra_2019/engine.nix @@ -1,12 +1,12 @@ /* - The package defintion for an OpenRA engine. + The package definition for an OpenRA engine. It shares code with `mod.nix` by what is defined in `common.nix`. Similar to `mod.nix` it is a generic package definition, in order to make it easy to define multiple variants of the OpenRA engine. For each mod provided by the engine, a wrapper script is created, matching the naming convention used by `mod.nix`. This package could be seen as providing a set of in-tree mods, - while the `mod.nix` pacakges provide a single out-of-tree mod. + while the `mod.nix` packages provide a single out-of-tree mod. */ { lib, diff --git a/pkgs/games/openra_2019/mod.nix b/pkgs/games/openra_2019/mod.nix index 1241801e13c2..13152e7caa81 100644 --- a/pkgs/games/openra_2019/mod.nix +++ b/pkgs/games/openra_2019/mod.nix @@ -1,5 +1,5 @@ /* - The package defintion for an OpenRA out-of-tree mod. + The package definition for an OpenRA out-of-tree mod. It shares code with `engine.nix` by what is defined in `common.nix`. To build an out-of-tree mod it needs the source code of the engine available, and they each need to be build with a specific version or fork of the engine, diff --git a/pkgs/games/openra_2019/packages.nix b/pkgs/games/openra_2019/packages.nix index b38225464d86..abe2cc8ce8eb 100644 --- a/pkgs/games/openra_2019/packages.nix +++ b/pkgs/games/openra_2019/packages.nix @@ -4,7 +4,7 @@ let /* Building an engine or out-of-tree mod is very similar, but different enough not to be able to build them with the same package definition, - so instaed we define what is common between them in a separate file. + so instead we define what is common between them in a separate file. Although `callPackage` could be used, it would require undoing `makeOverridable`, because `common.nix` does not define a package, but just an attribute set, diff --git a/pkgs/misc/my-env/default.nix b/pkgs/misc/my-env/default.nix index 1f0e1decad87..f4a556a8b548 100644 --- a/pkgs/misc/my-env/default.nix +++ b/pkgs/misc/my-env/default.nix @@ -1,4 +1,4 @@ -# idea: provide a build environments for your developement of preference +# idea: provide a build environments for your development of preference /* #### examples of use: #### # Add this to your ~/.config/nixpkgs/config.nix: diff --git a/pkgs/misc/uboot/default.nix b/pkgs/misc/uboot/default.nix index c3fc877c7479..0e6f623fe740 100644 --- a/pkgs/misc/uboot/default.nix +++ b/pkgs/misc/uboot/default.nix @@ -593,7 +593,7 @@ in { # A special build with much lower memory frequency (666 vs 1600 MT/s) which # makes ROCK64 V2 boards stable. This is necessary because the DDR3 routing - # on that revision is marginal and not uncoditionally stable at the specified + # on that revision is marginal and not unconditionally stable at the specified # frequency. If your ROCK64 is unstable you can try this u-boot variant to # see if it works better for you. The only disadvantage is lowered memory # bandwidth. diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/libspl.nix b/pkgs/os-specific/bsd/freebsd/pkgs/libspl.nix index c444975549ad..963c49ea1952 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/libspl.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/libspl.nix @@ -10,7 +10,7 @@ mkDerivation { "sys/modules/zfs/zfs_config.h" ]; - # Without a prefix it will try to put object files in nonexistant directories + # Without a prefix it will try to put object files in nonexistent directories preBuild = '' export MAKEOBJDIRPREFIX=$TMP/obj ''; diff --git a/pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix b/pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix index fcb4b29dc14d..4796b6d6a651 100644 --- a/pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix +++ b/pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix @@ -14,11 +14,11 @@ # or cddl/lib/Makefile let libs = [ - # Not really "zfs" libraries, they're solaris compatiblity libraries + # Not really "zfs" libraries, they're solaris compatibility libraries "libspl" "libumem" - # Libraires with no dependencies here execpt libumem and libspl + # Libraries with no dependencies here except libumem and libspl "libavl" "libicp" "libnvpair" @@ -61,7 +61,7 @@ mkDerivation { ''; # If we don't specify an object directory then - # make will try to put openzfs objects in nonexistant directories. + # make will try to put openzfs objects in nonexistent directories. # This one seems to work preBuild = '' diff --git a/pkgs/os-specific/darwin/libunwind/default.nix b/pkgs/os-specific/darwin/libunwind/default.nix index a19bfc6864e3..4923348b24a3 100644 --- a/pkgs/os-specific/darwin/libunwind/default.nix +++ b/pkgs/os-specific/darwin/libunwind/default.nix @@ -8,7 +8,7 @@ stdenvNoCC.mkDerivation (finalAttrs: { pname = "libunwind"; inherit (apple-sdk) version; - # No `-lunwind` is provided becuase you get it automatically from linking with libSystem. + # No `-lunwind` is provided because you get it automatically from linking with libSystem. # It’s also not possible to link libunwind directly, otherwise. Darwin requires going through libSystem. buildCommand = '' mkdir -p "$out/lib/pkgconfig" diff --git a/pkgs/os-specific/linux/kvmfr/default.nix b/pkgs/os-specific/linux/kvmfr/default.nix index a0d7a58fe87c..82b12a07beec 100644 --- a/pkgs/os-specific/linux/kvmfr/default.nix +++ b/pkgs/os-specific/linux/kvmfr/default.nix @@ -26,7 +26,7 @@ stdenv.mkDerivation { stripLen = 1; }) - # securtiy patch for potential buffer overflow + # security patch for potential buffer overflow # https://github.com/gnif/LookingGlass/issues/1133 (fetchpatch { url = "https://github.com/gnif/LookingGlass/commit/3ea37b86e38a87ee35eefb5d8fcc38b8dc8e2903.patch"; diff --git a/pkgs/os-specific/linux/minimal-bootstrap/heirloom/default.nix b/pkgs/os-specific/linux/minimal-bootstrap/heirloom/default.nix index 2eece86cf1d3..a3aa461b2271 100644 --- a/pkgs/os-specific/linux/minimal-bootstrap/heirloom/default.nix +++ b/pkgs/os-specific/linux/minimal-bootstrap/heirloom/default.nix @@ -27,7 +27,7 @@ let # "tcc -ar" doesn't support creating empty archives ./tcc-empty-ar.patch - # meslibc doesn't have seperate libm + # meslibc doesn't have separate libm ./dont-link-lm.patch # meslibc's vprintf doesn't support %ll ./vprintf.patch diff --git a/pkgs/os-specific/linux/scx/scx_cscheds.nix b/pkgs/os-specific/linux/scx/scx_cscheds.nix index a28b184f6d38..84b07682015d 100644 --- a/pkgs/os-specific/linux/scx/scx_cscheds.nix +++ b/pkgs/os-specific/linux/scx/scx_cscheds.nix @@ -95,7 +95,7 @@ llvmPackages.stdenv.mkDerivation (finalAttrs: { (lib.mapAttrsToList lib.mesonBool { # needed libs are already fetched as FOD "offline" = true; - # rust based schedulers are built seperately + # rust based schedulers are built separately "enable_rust" = false; }) # Clang to use when compiling .bpf.c diff --git a/pkgs/os-specific/linux/tp_smapi/default.nix b/pkgs/os-specific/linux/tp_smapi/default.nix index 6d8a46afd2c6..0c80a69f4888 100644 --- a/pkgs/os-specific/linux/tp_smapi/default.nix +++ b/pkgs/os-specific/linux/tp_smapi/default.nix @@ -71,7 +71,7 @@ stdenv.mkDerivation rec { homepage = "https://github.com/linux-thinkpad/tp_smapi"; license = lib.licenses.gpl2Plus; maintainers = [ ]; - # driver is only ment for linux thinkpads i think bellow platforms should cover it. + # driver is only meant for linux thinkpads i think bellow platforms should cover it. platforms = [ "x86_64-linux" "i686-linux" diff --git a/pkgs/stdenv/booter.nix b/pkgs/stdenv/booter.nix index 3d74a30b3273..81458cdb0339 100644 --- a/pkgs/stdenv/booter.nix +++ b/pkgs/stdenv/booter.nix @@ -22,7 +22,7 @@ # The fourth and final goal is debugging. Normal packages should only source # their dependencies from the current stage. But for the sake of debugging, it # is nice that all packages still remain accessible. We make sure previous -# stages are kept around with a `stdenv.__bootPackges` attribute referring the +# stages are kept around with a `stdenv.__bootPackages` attribute referring the # previous stage. It is idiomatic that attributes prefixed with `__` come with # special restrictions and should not be used under normal circumstances. { lib, allPackages }: diff --git a/pkgs/stdenv/darwin/default.nix b/pkgs/stdenv/darwin/default.nix index dd1035cc3d53..1f45c621be72 100644 --- a/pkgs/stdenv/darwin/default.nix +++ b/pkgs/stdenv/darwin/default.nix @@ -220,7 +220,7 @@ let }; # Dependencies - these are packages that are rebuilt together in groups. Defining them here ensures they are - # asserted and overlayed together. It also removes a lot of clutter from the stage definitions. + # asserted and overlaid together. It also removes a lot of clutter from the stage definitions. # # When multiple dependency sets share a dependency, it should be put in the one that will be (re)built first. # That makes sure everything else will share the same dependency in the final stdenv. @@ -954,7 +954,7 @@ assert bootstrapTools.passthru.isFromBootstrapFiles or false; # sanity check # inputs. The following set of overrides allow the LLVM documentation to be built without # pulling curl (and other packages like ffmpeg) into the stdenv bootstrap. # - # However, even without darwin.binutils-unwrapped, this has to be overriden in the LLVM package set + # However, even without darwin.binutils-unwrapped, this has to be overridden in the LLVM package set # because otherwise llvmPackages.llvm-manpages on its own is broken. llvm-manpages = superTools.llvm-manpages.override { python3Packages = self.python3.pkgs.overrideScope ( diff --git a/pkgs/stdenv/generic/make-derivation.nix b/pkgs/stdenv/generic/make-derivation.nix index d88ba53fbb47..6f0aa50e9083 100644 --- a/pkgs/stdenv/generic/make-derivation.nix +++ b/pkgs/stdenv/generic/make-derivation.nix @@ -407,7 +407,7 @@ else let # Derivations set it to choose what sort of machine could be used to # execute the build, The build platform entirely determines this, # indeed more finely than Nix knows or cares about. The `system` - # attribute of `buildPlatfom` matches Nix's degree of specificity. + # attribute of `buildPlatform` matches Nix's degree of specificity. # exactly. inherit (stdenv.buildPlatform) system; diff --git a/pkgs/test/coq/overrideCoqDerivation/default.nix b/pkgs/test/coq/overrideCoqDerivation/default.nix index 03253981af68..6b134fe09ad8 100644 --- a/pkgs/test/coq/overrideCoqDerivation/default.nix +++ b/pkgs/test/coq/overrideCoqDerivation/default.nix @@ -8,7 +8,7 @@ let # This is just coq, but with dontFilter set to true. We need to set - # dontFilter to true here so that _all_ packages are visibile in coqPackages. + # dontFilter to true here so that _all_ packages are visible in coqPackages. # There may be some versions of the top-level coq and coqPackages that don't # build QuickChick, which is what we are using for this test below. coqWithAllPackages = coq // { diff --git a/pkgs/tools/admin/google-cloud-sdk/components.nix b/pkgs/tools/admin/google-cloud-sdk/components.nix index 30c16ff1ef44..eed21e73c364 100644 --- a/pkgs/tools/admin/google-cloud-sdk/components.nix +++ b/pkgs/tools/admin/google-cloud-sdk/components.nix @@ -10,7 +10,7 @@ }: let - # Mapping from GCS component architecture names to Nix archictecture names + # Mapping from GCS component architecture names to Nix architecture names arches = { x86 = "i686"; x86_64 = "x86_64"; diff --git a/pkgs/tools/filesystems/ceph/default.nix b/pkgs/tools/filesystems/ceph/default.nix index 8cc13b4a0b0e..942eed2ca15d 100644 --- a/pkgs/tools/filesystems/ceph/default.nix +++ b/pkgs/tools/filesystems/ceph/default.nix @@ -511,7 +511,7 @@ rec { # | ^~~~~~~~~~~~~~~~~~ # Looks like `close()` is somehow not included. # But the relevant code is already removed in `open-telemetry` 1.10: https://github.com/open-telemetry/opentelemetry-cpp/pull/2031 - # So it's proably not worth trying to fix that for this Ceph version, + # So it's probably not worth trying to fix that for this Ceph version, # and instead just disable Ceph's Jaeger support. "-DWITH_JAEGER:BOOL=OFF" "-DWITH_TESTS:BOOL=OFF" diff --git a/pkgs/tools/graphics/gnuplot/default.nix b/pkgs/tools/graphics/gnuplot/default.nix index 6cc7a02caade..149a0d04bd98 100644 --- a/pkgs/tools/graphics/gnuplot/default.nix +++ b/pkgs/tools/graphics/gnuplot/default.nix @@ -127,7 +127,7 @@ in description = "Portable command-line driven graphing utility for many platforms"; platforms = platforms.linux ++ platforms.darwin; license = { - # Essentially a BSD license with one modifaction: + # Essentially a BSD license with one modification: # Permission to modify the software is granted, but not the right to # distribute the complete modified source code. Modifications are to # be distributed as patches to the released version. Permission to diff --git a/pkgs/tools/inputmethods/m17n-lib/default.nix b/pkgs/tools/inputmethods/m17n-lib/default.nix index 7d5289010daa..cf8bc4ea0a1a 100644 --- a/pkgs/tools/inputmethods/m17n-lib/default.nix +++ b/pkgs/tools/inputmethods/m17n-lib/default.nix @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { strictDeps = true; - # reconf needed to sucesfully cross-compile + # reconf needed to successfully cross-compile nativeBuildInputs = [ autoreconfHook pkg-config diff --git a/pkgs/tools/misc/diffoscope/default.nix b/pkgs/tools/misc/diffoscope/default.nix index d2a46860416a..b11f637d104f 100644 --- a/pkgs/tools/misc/diffoscope/default.nix +++ b/pkgs/tools/misc/diffoscope/default.nix @@ -84,7 +84,7 @@ let python = python3.override { self = python; packageOverrides = final: prev: { - # version 4 or newer would log the followng error but tests currently don't fail because radare2 is disabled + # version 4 or newer would log the following error but tests currently don't fail because radare2 is disabled # ValueError: argument TNULL is not a TLSH hex string tlsh = prev.tlsh.overridePythonAttrs ( { src, ... }: diff --git a/pkgs/tools/package-management/akku/akku.nix b/pkgs/tools/package-management/akku/akku.nix index 160368fdd808..d487a20d85b3 100644 --- a/pkgs/tools/package-management/akku/akku.nix +++ b/pkgs/tools/package-management/akku/akku.nix @@ -31,7 +31,7 @@ stdenv.mkDerivation rec { git ]; - # Use a dummy package index to boostrap Akku + # Use a dummy package index to bootstrap Akku preBuild = '' touch bootstrap.db ''; diff --git a/pkgs/tools/typesetting/tex/texlive/default.nix b/pkgs/tools/typesetting/tex/texlive/default.nix index c7b66de2d019..1da527cd692a 100644 --- a/pkgs/tools/typesetting/tex/texlive/default.nix +++ b/pkgs/tools/typesetting/tex/texlive/default.nix @@ -153,7 +153,7 @@ let lib.assertMsg (tlpdbVersion.year == version.texliveYear) "TeX Live year in texlive does not match tlpdb.nix, refusing to evaluate" && lib.assertMsg (tlpdbVersion.frozen == version.final) "TeX Live final status in texlive does not match tlpdb.nix, refusing to evaluate"; - # Pre-defined evironment packages for TeX Live schemes, + # Pre-defined environment packages for TeX Live schemes, # to make nix-env usage more comfortable and build selected on Hydra. # these license lists should be the sorted union of the licenses of the packages the schemes contain. diff --git a/pkgs/top-level/coq-packages.nix b/pkgs/top-level/coq-packages.nix index 185ecbe78436..f3c7a998019a 100644 --- a/pkgs/top-level/coq-packages.nix +++ b/pkgs/top-level/coq-packages.nix @@ -212,7 +212,7 @@ in rec { * a set of libraries built with that specific Coq. More libraries are known to * this function than what is compatible with that version of Coq. Therefore, * libraries that are not known to be compatible are removed (filtered out) from - * the resulting set. For meta-programming purposes (inpecting the derivations + * the resulting set. For meta-programming purposes (inspecting the derivations * rather than building the libraries) this filtering can be disabled by setting * a `dontFilter` attribute into the Coq derivation. */ diff --git a/pkgs/top-level/cuda-packages.nix b/pkgs/top-level/cuda-packages.nix index 5c1c518222ca..4da43f0bd117 100644 --- a/pkgs/top-level/cuda-packages.nix +++ b/pkgs/top-level/cuda-packages.nix @@ -11,7 +11,7 @@ # # To summarize: # -# - `prev` should only be used to access attributes which are going to be overriden. +# - `prev` should only be used to access attributes which are going to be overridden. # - `final` should only be used to access `callPackage` to build new packages. # - Attribute names should be computable without relying on `final`. # - Extensions should take arguments to build attribute names before relying on `final`. diff --git a/pkgs/top-level/default.nix b/pkgs/top-level/default.nix index fd443ac773ff..3888ccc9d9a1 100644 --- a/pkgs/top-level/default.nix +++ b/pkgs/top-level/default.nix @@ -148,7 +148,7 @@ in let # experience here.) nixpkgsFun = newArgs: import ./. (args // newArgs); - # Partially apply some arguments for building bootstraping stage pkgs + # Partially apply some arguments for building bootstrapping stage pkgs # sets. Only apply arguments which no stdenv would want to override. allPackages = newArgs: import ./stage.nix ({ inherit lib nixpkgsFun; diff --git a/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix b/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix index 4773438ebd1c..1979006bf262 100644 --- a/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix +++ b/pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix @@ -37,7 +37,7 @@ let # We return `null` instead of doing a `filterAttrs`, because with # `filterAttrs` the evaluator would not be able to return the attribute # set without first evaluating all of the attribute _values_. This would - # be rather expensive, and severly slow down the use case of getting a + # be rather expensive, and severely slow down the use case of getting a # single test, which we want to do in `passthru.tests`, or interactively. null diff --git a/pkgs/top-level/python2-packages.nix b/pkgs/top-level/python2-packages.nix index c99caa4d3d12..fb9632c100d0 100644 --- a/pkgs/top-level/python2-packages.nix +++ b/pkgs/top-level/python2-packages.nix @@ -1,4 +1,4 @@ -# Extension with Python 2 packages that is overlayed on top +# Extension with Python 2 packages that is overlaid on top # of the Python 3 packages set. This way, Python 2+3 compatible # packages can still be used. diff --git a/pkgs/top-level/release-cross.nix b/pkgs/top-level/release-cross.nix index d29382562986..ded7924f146f 100644 --- a/pkgs/top-level/release-cross.nix +++ b/pkgs/top-level/release-cross.nix @@ -194,7 +194,7 @@ in fuloongminipc = mapTestOnCross systems.examples.fuloongminipc linuxCommon; ben-nanonote = mapTestOnCross systems.examples.ben-nanonote linuxCommon; - /* Javacript */ + /* Javascript */ ghcjs = mapTestOnCross systems.examples.ghcjs { haskell.packages.ghcjs.hello = nativePlatforms; haskell.packages.native-bignum.ghcHEAD.hello = nativePlatforms; diff --git a/pkgs/top-level/rocq-packages.nix b/pkgs/top-level/rocq-packages.nix index 44a59c87c407..a6478bda519f 100644 --- a/pkgs/top-level/rocq-packages.nix +++ b/pkgs/top-level/rocq-packages.nix @@ -41,7 +41,7 @@ in rec { * a set of libraries built with that specific Rocq. More libraries are known to * this function than what is compatible with that version of Rocq. Therefore, * libraries that are not known to be compatible are removed (filtered out) from - * the resulting set. For meta-programming purposes (inpecting the derivations + * the resulting set. For meta-programming purposes (inspecting the derivations * rather than building the libraries) this filtering can be disabled by setting * a `dontFilter` attribute into the Rocq derivation. */