treewide: fix typos in comments

Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
This commit is contained in:
Peder Bergebakken Sundt 2025-02-22 21:23:34 +01:00
parent d8b348c8ed
commit 5aba99242e
298 changed files with 317 additions and 317 deletions

View File

@ -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
{

View File

@ -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.
*/

View File

@ -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.
*/

View File

@ -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

View File

@ -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,
...

View File

@ -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

View File

@ -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;
};

View File

@ -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:

View File

@ -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
})

View File

@ -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";

View File

@ -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}";
};

View File

@ -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"
":"

View File

@ -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 {

View File

@ -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.

View File

@ -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 ? [ ],

View File

@ -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"

View File

@ -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

View File

@ -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 ];

View File

@ -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;

View File

@ -53,7 +53,7 @@ buildPythonPackage {
numpy
];
# upstrem has no tests
# upstream has no tests
doCheck = false;
pythonImportsCheck = [

View File

@ -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";

View File

@ -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;

View File

@ -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";

View File

@ -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"

View File

@ -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";

View File

@ -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 =

View File

@ -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 =
''

View File

@ -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,

View File

@ -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

View File

@ -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

View File

@ -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]]

View File

@ -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;

View File

@ -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.
{

View File

@ -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";

View File

@ -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

View File

@ -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.

View File

@ -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.)
+ ''

View File

@ -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.

View File

@ -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

View File

@ -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";

View File

@ -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";

View File

@ -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:

View File

@ -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 =

View File

@ -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 =

View File

@ -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
];

View File

@ -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";

View File

@ -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";

View File

@ -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;

View File

@ -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"
'';

View File

@ -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"

View File

@ -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
];

View File

@ -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.

View File

@ -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

View File

@ -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;

View File

@ -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"

View File

@ -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=";

View File

@ -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;

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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.
*/

View File

@ -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;

View File

@ -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

View File

@ -301,7 +301,7 @@ symlinkJoin {
platforms
maintainers
;
# To differenciate it from the original YGOPro
# To differentiate it from the original YGOPro
mainProgram = "edopro";
};
}

View File

@ -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 ]

View File

@ -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=";
};

View File

@ -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.

View File

@ -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.

View File

@ -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 = [

View File

@ -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" ];

View File

@ -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
# <https://github.com/caarlos0/fork-cleaner/blob/645345bf97d751614270de4ade698ddbc53509c1/goreleaser.yml#L38>
allowGoReference = true;

View File

@ -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

View File

@ -3,7 +3,7 @@
buildGoModule,
fetchFromGitHub,
# required for completion and cross-complilation
# required for completion and cross-compilation
installShellFiles,
buildPackages,
stdenv,

View File

@ -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: {

View File

@ -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

View File

@ -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;
};
};

View File

@ -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

View File

@ -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

View File

@ -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";

View File

@ -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 = ''

View File

@ -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,

View File

@ -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

View File

@ -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

View File

@ -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;

View File

@ -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
+ ''

View File

@ -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"

View File

@ -137,7 +137,7 @@ stdenv.mkDerivation (finalAttrs: {
dontUseCmakeConfigure = true; # CMake is only needed because its 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 = [

View File

@ -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";

View File

@ -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

View File

@ -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 = ''

View File

@ -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 ''

View File

@ -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"

View File

@ -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 = ''

View File

@ -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

View File

@ -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=";

View File

@ -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=";

View File

@ -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 =
''

View File

@ -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";

View File

@ -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
];

Some files were not shown because too many files have changed in this diff Show More