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.

Changed files
+317 -317
pkgs
applications
editors
emacs
vim
plugins
emulators
graphics
f3d
rawtherapee
sane
backends
misc
inochi2d
networking
browsers
chromium
firefox
cluster
mailreaders
evolution
evolution-ews
mailnag
mullvad
office
libreoffice
radio
cqrlog
sdr-j-fm
science
chemistry
autodock-vina
electronics
kicad
qucs-s
xyce
molecular-dynamics
raspa
version-management
gitlint
video
virtualization
OVMF
singularity
build-support
build-fhsenv-bubblewrap
cc-wrapper
coq
fetchhg
make-darwin-bundle
node
fetch-npm-deps
import-npm-lock
nuke-references
pkg-config-wrapper
release
rust
build-rust-crate
hooks
testers
trivial-builders
test
references
by-name
ae
aegisub
ap
appimagekit
av
avisynthplus
bm
ca
castero
cl
clickable
cm
cmake
cn
cnijfilter2
co
colobot
cp
cpuinfo
cs
csharp-ls
csharprepl
de
devspace
dj
djenrandom
dl
dleyna-connector-dbus
dleyna-renderer
dleyna-server
ds
dsniff
du
duckstation
dumpasn1
ed
edopro
en
envision
ep
epson-escpr2
es
fl
flottbot
fo
fontforge
foomatic-db
fork-cleaner
fr
frozen
fu
fulcio
gi
git-pw
gn
gnupth
gnuradioMinimal
gp
gparted
gr
graphicsmagick
ha
hap-py
haunt
hd
ho
homebox
hy
hydrapaper
ic
iconpack-obsidian
jo
ki
kinect-audio-setup
ld
ld64
ldmtool
le
lensfun
li
libation
libgpg-error
libloot
litehtml
lo
local-ai
looking-glass-client
lp
LPCNet
ma
maa-cli
matlab-language-server
me
mealie
megapixels
mm
mmark
mu
mujoco
na
nautilus-open-in-blackbox
ne
nextcloud-client
no
nomad-driver-containerd
nu
nuclear
nv
nvidia-container-toolkit
op
open-english-wordnet
openbox
openmm
ot
otb
itk_4_13
ph
phantomsocks
po
portmod
pr
proton-ge-bin
py
pybibget
re
realmd
rewind-ai
rq
rqlite
sa
sage
sd
SDL2_image
se
sequoia-sqv
sequoia-wot
si
sixpair
sl
sleek
ta
target-isns
ti
tiny-cuda-nn
to
topiary
tr
trigger-control
tt
tu
tuifimanager
uc
uclibc-ng
ucommon
un
unnethack
va
vamp-plugin-sdk
vk
vkd3d-proton
vl
vlang
vm
vmagent
xv
xvidcore
ze
zed-open-capture
zi
zs
zsync
common-updater
data
fonts
nerd-fonts
desktops
lomiri
applications
lomiri-camera-app
plasma-5
development
compilers
elm
packages
ghc9_2
factor-lang
gcc
ghc
idris2
llvm
common
compiler-rt
ocaml
sbcl
swift
swiftpm
yosys
coq-modules
mathcomp-analysis
metacoq
cuda-modules
cudnn-frontend
cutensor
generic-builders
gnuradio-modules
haskell-modules
interpreters
libraries
boost
gssdp
libdvdnav
libgit2
libsbsms
libunistring
opencv
openimageio
qgnomeplatform
quictls
zlib
ocaml-modules
ocaml-r
python-modules
asgi-csrf
astropy
babelfont
bitsandbytes
conda-libmamba-solver
cupy
dask-image
databricks-sdk
decopatch
deepdiff
dict2xml
django
django-filingcabinet
django-markdownx
dparse2
eth-hash
exrex
gfal2-util
gftools
grpcio-status
hatch-jupyter-builder
howdoi
influxdb
iniconfig
ipykernel
jax
jupyter-packaging
kombu
ldap3
librosa
lightwave
lineax
llguidance
manifest-ml
manim
matplotlib
motionblindsble
notebook-shim
objax
oldest-supported-numpy
onnxruntime
pefile
plotnine
pmdsky-debug-py
psutil
pueblo
pulumi-aws
pybigwig
pycomm3
pyflic
pyls-memestra
pymitv
pyskyqhub
pysnow
pytest-pytestrail
pytest-server-fixtures
python3-saml
qutip
rcssmin
rjsmin
rki-covid-parser
seabreeze
sentry-sdk
sip
skytemple-files
spacy-loggers
sphinx-version-warning
stm32loader
torchaudio
tree-sitter-languages
treq
upass
verlib2
xmind
rocm-modules
6
rocgdb
ruby-modules
bundler-app
gem
skaware-packages
tools
electron
chromedriver
misc
rtags
games
dwarf-fortress
gscrabble
openra_2019
misc
my-env
uboot
os-specific
bsd
freebsd
darwin
libunwind
linux
kvmfr
minimal-bootstrap
heirloom
scx
tp_smapi
stdenv
test
coq
overrideCoqDerivation
tools
admin
google-cloud-sdk
filesystems
graphics
gnuplot
inputmethods
m17n-lib
misc
diffoscope
package-management
akku
typesetting
tex
texlive
top-level
+1 -1
pkgs/applications/editors/emacs/build-support/buffer.nix
···
-
# 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
{
+1 -1
pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix
···
./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.
*/
+1 -1
pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
···
./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.
*/
+1 -1
pkgs/applications/editors/vim/plugins/vim-utils.nix
···
============================
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
+1 -1
pkgs/applications/emulators/libretro/mkLibretroCore.nix
···
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,
...
+1 -1
pkgs/applications/graphics/f3d/default.nix
···
, 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
+1 -1
pkgs/applications/graphics/rawtherapee/default.nix
···
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;
};
+1 -1
pkgs/applications/graphics/sane/backends/default.nix
···
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:
+1 -1
pkgs/applications/misc/inochi2d/default.nix
···
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
})
+2 -2
pkgs/applications/networking/browsers/chromium/common.nix
···
# 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";
+1 -1
pkgs/applications/networking/browsers/firefox/common.nix
···
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}";
};
+2 -2
pkgs/applications/networking/browsers/firefox/wrapper.nix
···
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"
···
"1"
] ++ lib.optionals (!xdg-utils.meta.broken) [
-
# make xdg-open overrideable at runtime
+
# make xdg-open overridable at runtime
"--suffix"
"PATH"
":"
+1 -1
pkgs/applications/networking/cluster/k3s/default.nix
···
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 {
+1 -1
pkgs/applications/networking/mailreaders/evolution/evolution-ews/default.nix
···
};
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.
+1 -1
pkgs/applications/networking/mailreaders/mailnag/default.nix
···
# 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 ? [ ],
+1 -1
pkgs/applications/networking/mullvad/openvpn.nix
···
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"
+1 -1
pkgs/applications/office/libreoffice/wrapper.nix
···
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
+1 -1
pkgs/applications/radio/cqrlog/default.nix
···
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 ];
+1 -1
pkgs/applications/radio/sdr-j-fm/default.nix
···
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;
+1 -1
pkgs/applications/science/chemistry/autodock-vina/python-bindings.nix
···
numpy
];
-
# upstrem has no tests
+
# upstream has no tests
doCheck = false;
pythonImportsCheck = [
+1 -1
pkgs/applications/science/electronics/kicad/default.nix
···
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";
+1 -1
pkgs/applications/science/electronics/qucs-s/default.nix
···
"-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;
+1 -1
pkgs/applications/science/electronics/xyce/default.nix
···
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";
+1 -1
pkgs/applications/science/molecular-dynamics/raspa/default.nix
···
# 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"
+1 -1
pkgs/applications/version-management/gitlint/default.nix
···
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";
+1 -1
pkgs/applications/video/kodi/build-kodi-binary-addon.nix
···
"-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 =
+1 -1
pkgs/applications/virtualization/OVMF/default.nix
···
'';
# 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 =
''
+1 -1
pkgs/applications/virtualization/singularity/generic.nix
···
# 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,
+1 -1
pkgs/build-support/build-fhsenv-bubblewrap/default.nix
···
# `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
+1 -1
pkgs/build-support/cc-wrapper/default.nix
···
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
+1 -1
pkgs/build-support/coq/extra-lib.nix
···
/*
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]]
+1 -1
pkgs/build-support/fetchhg/default.nix
···
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;
+1 -1
pkgs/build-support/make-darwin-bundle/default.nix
···
# 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.
{
+1 -1
pkgs/build-support/node/fetch-npm-deps/default.nix
···
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";
+1 -1
pkgs/build-support/node/import-npm-lock/default.nix
···
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
+1 -1
pkgs/build-support/nuke-references/default.nix
···
# 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.
+1 -1
pkgs/build-support/pkg-config-wrapper/default.nix
···
# 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.)
+ ''
+1 -1
pkgs/build-support/release/default.nix
···
/*
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.
+1 -1
pkgs/build-support/rust/build-rust-crate/log.nix
···
# 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
+1 -1
pkgs/build-support/rust/build-rust-crate/test/default.nix
···
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";
+1 -1
pkgs/build-support/rust/hooks/test/default.nix
···
/*
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";
+2 -2
pkgs/build-support/source-from-head-fun.nix
···
/*
-
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:
+1 -1
pkgs/build-support/testers/lychee.nix
···
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 =
+1 -1
pkgs/build-support/trivial-builders/test/references/default.nix
···
# -------------------------------------------------------------------------- #
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 =
+1 -1
pkgs/by-name/ae/aegisub/package.nix
···
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
];
+1 -1
pkgs/by-name/ap/appimagekit/package.nix
···
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";
+1 -1
pkgs/by-name/av/avisynthplus/package.nix
···
};
patches = [
-
# Remove after next relaese
+
# Remove after next release
(fetchpatch {
name = "fix-absolute-path.patch";
url = "https://github.com/AviSynth/AviSynthPlus/commit/818983691e962ec3e590fcad07032f8a139a6b16.patch";
+1 -1
pkgs/by-name/bm/bmon/package.nix
···
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;
+1 -1
pkgs/by-name/ca/castero/package.nix
···
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"
'';
+1 -1
pkgs/by-name/cl/clickable/package.nix
···
"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"
+1 -1
pkgs/by-name/cm/cmake/package.nix
···
})
++ [
# 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
];
+1 -1
pkgs/by-name/cn/cnijfilter2/package.nix
···
./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.
+1 -1
pkgs/by-name/co/colobot/package.nix
···
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
+1 -1
pkgs/by-name/cp/cpuinfo/package.nix
···
];
# 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;
+1 -1
pkgs/by-name/cs/csharp-ls/package.nix
···
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"
+1 -1
pkgs/by-name/cs/csharprepl/package.nix
···
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=";
+1 -1
pkgs/by-name/de/devspace/package.nix
···
"-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;
+1 -1
pkgs/by-name/dj/djenrandom/package.nix
···
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
+1 -1
pkgs/by-name/dl/dleyna-connector-dbus/package.nix
···
};
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
+1 -1
pkgs/by-name/dl/dleyna-renderer/package.nix
···
};
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
+1 -1
pkgs/by-name/dl/dleyna-server/package.nix
···
};
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
+1 -1
pkgs/by-name/ds/dsniff/package.nix
···
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.
*/
+1 -1
pkgs/by-name/du/duckstation/sources.nix
···
# 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;
+1 -1
pkgs/by-name/du/dumpasn1/package.nix
···
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
+1 -1
pkgs/by-name/ed/edopro/package.nix
···
platforms
maintainers
;
-
# To differenciate it from the original YGOPro
+
# To differentiate it from the original YGOPro
mainProgram = "edopro";
};
}
+1 -1
pkgs/by-name/en/envision/package.nix
···
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 ]
+1 -1
pkgs/by-name/ep/epson-escpr2/package.nix
···
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=";
};
+1 -1
pkgs/by-name/es/esdm/package.nix
···
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.
+1 -1
pkgs/by-name/fl/flottbot/package.nix
···
};
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.
+1 -1
pkgs/by-name/fo/fontforge/package.nix
···
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 = [
+1 -1
pkgs/by-name/fo/foomatic-db/package.nix
···
./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" ];
+1 -1
pkgs/by-name/fo/fork-cleaner/package.nix
···
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;
+1 -1
pkgs/by-name/fr/frozen/package.nix
···
# 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
+1 -1
pkgs/by-name/fu/fulcio/package.nix
···
buildGoModule,
fetchFromGitHub,
-
# required for completion and cross-complilation
+
# required for completion and cross-compilation
installShellFiles,
buildPackages,
stdenv,
+1 -1
pkgs/by-name/gi/git-pw/package.nix
···
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: {
+1 -1
pkgs/by-name/gn/gnupth/package.nix
···
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
+2 -2
pkgs/by-name/gn/gnuradioMinimal/package.nix
···
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;
···
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;
};
};
+1 -1
pkgs/by-name/gp/gparted/package.nix
···
)
'';
-
# 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
+1 -1
pkgs/by-name/gr/graphicsmagick/package.nix
···
];
# 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
+1 -1
pkgs/by-name/ha/hap-py/package.nix
···
# 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";
+1 -1
pkgs/by-name/ha/haunt/package.nix
···
guile-reader
];
-
# Test suite is non-determinisitic in later versions
+
# Test suite is non-deterministic in later versions
doCheck = false;
postInstall = ''
+1 -1
pkgs/by-name/hd/hdos/package.nix
···
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,
+1 -1
pkgs/by-name/ho/homebox/package.nix
···
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
+1 -1
pkgs/by-name/hy/hydrapaper/package.nix
···
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
+1 -1
pkgs/by-name/ic/iconpack-obsidian/package.nix
···
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;
+1 -1
pkgs/by-name/jo/jogl/package.nix
···
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
+ ''
+1 -1
pkgs/by-name/ki/kinect-audio-setup/package.nix
···
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"
+1 -1
pkgs/by-name/ld/ld64/package.nix
···
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 = [
+1 -1
pkgs/by-name/ld/ldmtool/package.nix
···
};
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";
+1 -1
pkgs/by-name/le/lensfun/package.nix
···
# 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
+1 -1
pkgs/by-name/li/libation/package.nix
···
--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 = ''
+1 -1
pkgs/by-name/li/libgpg-error/package.nix
···
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 ''
+1 -1
pkgs/by-name/li/libloot/package.nix
···
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"
+1 -1
pkgs/by-name/li/litehtml/package.nix
···
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 = ''
+1 -1
pkgs/by-name/lo/local-ai/package.nix
···
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
+1 -1
pkgs/by-name/lo/looking-glass-client/package.nix
···
};
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=";
+1 -1
pkgs/by-name/lp/LPCNet/package.nix
···
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=";
+1 -1
pkgs/by-name/ma/maa-cli/package.nix
···
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 =
''
+1 -1
pkgs/by-name/ma/matlab-language-server/package.nix
···
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";
+1 -1
pkgs/by-name/me/mealie/package.nix
···
pythonRelaxDeps = true;
patches = [
-
# compatiblity with openai 1.63.0
+
# compatibility with openai 1.63.0
./0000_openai_1.63.0.patch
];
+1 -1
pkgs/by-name/me/megapixels/package.nix
···
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
];
+1 -1
pkgs/by-name/mm/mmark/package.nix
···
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";
+1 -1
pkgs/by-name/mu/mujoco/package.nix
···
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
+1 -1
pkgs/by-name/na/nautilus-open-in-blackbox/package.nix
···
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 ];
+1 -1
pkgs/by-name/ne/nextcloud-client/package.nix
···
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 ]}"
];
+1 -1
pkgs/by-name/no/nomad-driver-containerd/package.nix
···
})
];
-
# 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}"'
'';
+1 -1
pkgs/by-name/nu/nuclear/package.nix
···
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.
+1 -1
pkgs/by-name/nv/nvidia-container-toolkit/packages.nix
···
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"
+1 -1
pkgs/by-name/op/open-english-wordnet/package.nix
···
}
)
{
-
# 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=";
+1 -1
pkgs/by-name/op/openbox/package.nix
···
})
# 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=";
+1 -1
pkgs/by-name/op/openmm/package.nix
···
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.* \
+1 -1
pkgs/by-name/ot/otb/itk_4_13/package.nix
···
];
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
+1 -1
pkgs/by-name/ph/phantomsocks/package.nix
···
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),
}:
+1 -1
pkgs/by-name/po/portmod/package.nix
···
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" "" \
+1 -1
pkgs/by-name/pr/proton-ge-bin/package.nix
···
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",
}:
+1 -1
pkgs/by-name/py/pybibget/package.nix
···
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;
+1 -1
pkgs/by-name/re/realmd/package.nix
···
"--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
+1 -1
pkgs/by-name/re/rewind-ai/package.nix
···
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
+1 -1
pkgs/by-name/rq/rqlite/package.nix
···
];
# 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"
+1 -1
pkgs/by-name/sa/sage/sage.nix
···
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
];
+1 -1
pkgs/by-name/sd/SDL2_image/package.nix
···
++ 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")
];
+1 -1
pkgs/by-name/se/sequoia-sqv/package.nix
···
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
+1 -1
pkgs/by-name/se/sequoia-wot/package.nix
···
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
+1 -1
pkgs/by-name/si/sixpair/package.nix
···
sha256 = "1b0a3k7gs544cbji7n29jxlrsscwfx6s1r2sgwdl6hmkc1l9gagr";
};
-
# hcitool is depricated
+
# hcitool is deprecated
patches = [ ./hcitool.patch ];
buildInputs = [ libusb-compat-0_1 ];
+1 -1
pkgs/by-name/sl/sleek/package.nix
···
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 = ''
+1 -1
pkgs/by-name/ta/target-isns/package.nix
···
};
patches = [
-
# fix absoulute paths
+
# fix absolute paths
./install_prefix_path.patch
# fix gcc 10 compiler warning, remove with next update
+2 -2
pkgs/by-name/ti/tiny-cuda-nn/package.nix
···
);
# 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;
···
'';
# 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
+1 -1
pkgs/by-name/to/topiary/package.nix
···
];
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"
+1 -1
pkgs/by-name/tr/trigger-control/package.nix
···
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=";
+1 -1
pkgs/by-name/tt/tts/package.nix
···
'';
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"
+1 -1
pkgs/by-name/tu/tuifimanager/package.nix
···
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,
}:
+1 -1
pkgs/by-name/uc/uclibc-ng/package.nix
···
'';
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;
+1 -1
pkgs/by-name/uc/ucommon/package.nix
···
--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;
+1 -1
pkgs/by-name/un/unnethack/package.nix
···
# 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
+1 -1
pkgs/by-name/va/vamp-plugin-sdk/package.nix
···
# 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,
+1 -1
pkgs/by-name/vk/vkd3d-proton/sources.nix
···
# 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;
+1 -1
pkgs/by-name/vl/vlang/package.nix
···
#include <sys/types.h>
#include <sys/ptrace.h>
'';
-
# 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";
+1 -1
pkgs/by-name/vm/vmagent/package.nix
···
{ 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 {
+1 -1
pkgs/by-name/xv/xvidcore/package.nix
···
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
+1 -1
pkgs/by-name/ze/zed-open-capture/package.nix
···
];
# 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"
];
+1 -1
pkgs/by-name/zi/zim/package.nix
···
# 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 {
+1 -1
pkgs/by-name/zs/zsync/package.nix
···
# 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"
+1 -1
pkgs/common-updater/combinators.nix
···
= 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) ])
+1 -1
pkgs/data/fonts/nerd-fonts/default.nix
···
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
+1 -1
pkgs/desktops/lomiri/applications/lomiri-camera-app/default.nix
···
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' \
+1 -1
pkgs/desktops/plasma-5/kwin/default.nix
···
./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.
+1 -1
pkgs/development/compilers/elm/packages/ghc9_2/default.nix
···
# 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;
+1 -1
pkgs/development/compilers/factor-lang/factor99.nix
···
# 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
+2 -2
pkgs/development/compilers/gcc/default.nix
···
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;
···
${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.
+2 -2
pkgs/development/compilers/ghc/8.10.7-binary.nix
···
# 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)
···
# 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
+2 -2
pkgs/development/compilers/ghc/9.2.4-binary.nix
···
# 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)
···
# 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
+1 -1
pkgs/development/compilers/ghc/9.6.3-binary.nix
···
# 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)
+1 -1
pkgs/development/compilers/idris2/build-idris.nix
···
'';
# 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;
};
+3 -3
pkgs/development/compilers/llvm/common/compiler-rt/default.nix
···
# 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 ? []
}:
···
)
'';
-
# 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) ''
···
# 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 `<pthread.h>` which isn't avaiable (without exeprimental WASM threads proposal).
+
# emutls wants `<pthread.h>` 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);
};
+1 -1
pkgs/development/compilers/ocaml/4.04.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 = [
+1 -1
pkgs/development/compilers/ocaml/4.06.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 = [
+1 -1
pkgs/development/compilers/sbcl/default.nix
···
, 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
+1 -1
pkgs/development/compilers/swift/swiftpm/default.nix
···
# 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)"
+1 -1
pkgs/development/compilers/yosys/default.nix
···
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:
#
+2 -2
pkgs/development/coq-modules/mathcomp-analysis/default.nix
···
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
···
&& 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
+1 -1
pkgs/development/coq-modules/metacoq/default.nix
···
}
);
# 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
+1 -1
pkgs/development/cuda-modules/cudnn-frontend/default.nix
···
'';
# 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"
+1 -1
pkgs/development/cuda-modules/cutensor/extension.nix
···
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.
+1 -1
pkgs/development/cuda-modules/generic-builders/manifest.nix
···
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" ];
+1 -1
pkgs/development/gnuradio-modules/mkDerivation.nix
···
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
+1 -1
pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
···
# 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
+1 -1
pkgs/development/haskell-modules/configuration-ghc-9.6.x.nix
···
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.
+1 -1
pkgs/development/haskell-modules/configuration-ghc-9.8.x.nix
···
#
# 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") {
+2 -2
pkgs/development/haskell-modules/configuration-nix.nix
···
#
# * 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
···
#
# 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
+1 -1
pkgs/development/interpreters/lua-5/interpreter.nix
···
"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"
+1 -1
pkgs/development/libraries/boost/generic.nix
···
(
# 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"
+1 -1
pkgs/development/libraries/gssdp/tools.nix
···
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;
})
+1 -1
pkgs/development/libraries/libdvdnav/4.2.1.nix
···
# 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 "--<name>" flags and generates config.mak and config.h.
# See INSTALL inside the upstream source for detail.
configureScript = "./configure2";
+1 -1
pkgs/development/libraries/libgit2/default.nix
···
"-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
+1 -1
pkgs/development/libraries/libsbsms/common.nix
···
};
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";
})
+1 -1
pkgs/development/libraries/libunistring/default.nix
···
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
+2 -2
pkgs/development/libraries/opencv/4.x.nix
···
, 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
···
"$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"
+1 -1
pkgs/development/libraries/openimageio/default.nix
···
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@" ""
+1 -1
pkgs/development/libraries/qgnomeplatform/default.nix
···
})
# 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
];
+1 -1
pkgs/development/libraries/quictls/default.nix
···
# 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"
];
+2 -2
pkgs/development/libraries/zlib/default.nix
···
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.
···
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";
+1 -1
pkgs/development/ocaml-modules/ocaml-r/default.nix
···
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";
+1 -1
pkgs/development/python-modules/asgi-csrf/default.nix
···
# build-system
setuptools,
-
# depedencies
+
# dependencies
itsdangerous,
python-multipart,
+1 -1
pkgs/development/python-modules/astropy/default.nix
···
pyerfa,
pyyaml,
-
# optional-depedencies
+
# optional-dependencies
scipy,
matplotlib,
ipython,
+1 -1
pkgs/development/python-modules/babelfont/default.nix
···
pytestCheckHook
];
-
# Want non exsiting test data
+
# Want non existing test data
disabledTests = [
"test_rename"
"test_rename_nested"
+1 -1
pkgs/development/python-modules/bitsandbytes/default.nix
···
};
# 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.
+1 -1
pkgs/development/python-modules/conda-libmamba-solver/default.nix
···
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" ];
+1 -1
pkgs/development/python-modules/cupy/default.nix
···
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
+1 -1
pkgs/development/python-modules/dask-image/default.nix
···
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"
+1 -1
pkgs/development/python-modules/databricks-sdk/default.nix
···
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"
+1 -1
pkgs/development/python-modules/decopatch/default.nix
···
pythonImportsCheck = [ "decopatch" ];
-
# Tests would introduce multiple cirucular dependencies
+
# Tests would introduce multiple circular dependencies
# Affected: makefun, pytest-cases
doCheck = false;
+1 -1
pkgs/development/python-modules/deepdiff/default.nix
···
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"
];
+1 -1
pkgs/development/python-modules/dict2xml/default.nix
···
nativeBuildInputs = [ hatchling ];
-
# Tests are inplemented in a custom DSL (RSpec)
+
# Tests are implemented in a custom DSL (RSpec)
doCheck = false;
pythonImportsCheck = [ "dict2xml" ];
+1 -1
pkgs/development/python-modules/django-filingcabinet/default.nix
···
# 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"
];
+1 -1
pkgs/development/python-modules/django-markdownx/default.nix
···
pillow
];
-
# tests only executeable in vagrant
+
# tests only executable in vagrant
doCheck = false;
pythonImportsCheck = [ "markdownx" ];
+1 -1
pkgs/development/python-modules/django/5.nix
···
})
# 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
+1 -1
pkgs/development/python-modules/dparse2/default.nix
···
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
-
# Requries pipenv
+
# Requires pipenv
"tests/test_parse.py"
];
+1 -1
pkgs/development/python-modules/eth-hash/default.nix
···
# 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
+1 -1
pkgs/development/python-modules/exrex/default.nix
···
dontWrapPythonPrograms = true;
-
# Projec thas no released tests
+
# Project thas no released tests
doCheck = false;
pythonImportsCheck = [ "exrex" ];
+1 -1
pkgs/development/python-modules/gfal2-util/fetchgfal2.nix
···
gfal2-util,
}:
-
# `url` and `urls` should only be overriden via `<pkg>.override`, but not `<pkg>.overrideAttrs`.
+
# `url` and `urls` should only be overridden via `<pkg>.override`, but not `<pkg>.overrideAttrs`.
{
name ? "",
pname ? "",
+1 -1
pkgs/development/python-modules/gftools/default.nix
···
nativeCheckInputs = [ pytestCheckHook ];
disabledTestPaths = [
-
# Wants none exsiting module
+
# Wants none existing module
"bin/test_args.py"
# Requires internet
"tests/push/test_items.py"
+1 -1
pkgs/development/python-modules/grpcio-status/default.nix
···
protobuf
];
-
# Projec thas no tests
+
# Project thas no tests
doCheck = false;
pythonImportsCheck = [ "grpc_status" ];
+1 -1
pkgs/development/python-modules/hatch-jupyter-builder/default.nix
···
] ++ lib.optionals (pythonOlder "3.11") [ tomli ];
disabledTests = [
-
# tests pip install, which unsuprisingly fails
+
# tests pip install, which unsurprisingly fails
"test_hatch_build"
];
+1 -1
pkgs/development/python-modules/howdoi/default.nix
···
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"
+1 -1
pkgs/development/python-modules/influxdb/default.nix
···
"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"
+1 -1
pkgs/development/python-modules/iniconfig/default.nix
···
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;
})
+1 -1
pkgs/development/python-modules/ipykernel/tests.nix
···
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"
+1 -1
pkgs/development/python-modules/jax/default.nix
···
# 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.
+1 -1
pkgs/development/python-modules/jupyter-packaging/default.nix
···
# 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"
+1 -1
pkgs/development/python-modules/kombu/default.nix
···
];
azureservicebus = [ azure-servicebus ];
confluentkafka = [ confluent-kafka ];
-
# pyro4 doesn't suppport Python 3.11
+
# pyro4 doesn't support Python 3.11
#pyro = [
# pyro4
#];
+1 -1
pkgs/development/python-modules/ldap3/default.nix
···
'';
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";
+1 -1
pkgs/development/python-modules/librosa/default.nix
···
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"
];
+1 -1
pkgs/development/python-modules/lightwave/default.nix
···
pythonImportsCheck = [ "lightwave" ];
-
# Requires phyiscal hardware
+
# Requires physical hardware
doCheck = false;
meta = with lib; {
+1 -1
pkgs/development/python-modules/lineax/default.nix
···
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
+1 -1
pkgs/development/python-modules/llguidance/default.nix
···
"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 = {
+1 -1
pkgs/development/python-modules/manifest-ml/default.nix
···
"test_run_chat"
"test_run"
"test_score_run"
-
# Test is time-senstive
+
# Test is time-sensitive
"test_timing"
];
+1 -1
pkgs/development/python-modules/manim/default.nix
···
#
# 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
+1 -1
pkgs/development/python-modules/manim/failing_tests.nix
···
# 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.
+1 -1
pkgs/development/python-modules/matplotlib/default.nix
···
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.
+1 -1
pkgs/development/python-modules/motionblindsble/default.nix
···
pythonImportsCheck = [ "motionblindsble" ];
disabledTests = [
-
# AssertionEror
+
# AssertionError
"test_establish_connection"
];
+1 -1
pkgs/development/python-modules/notebook-shim/default.nix
···
'';
# 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 = [
+1 -1
pkgs/development/python-modules/objax/default.nix
···
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;
+1 -1
pkgs/development/python-modules/oldest-supported-numpy/default.nix
···
# 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.
#
+1 -1
pkgs/development/python-modules/onnxruntime/default.nix
···
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.
+1 -1
pkgs/development/python-modules/pefile/default.nix
···
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" ];
+1 -1
pkgs/development/python-modules/plotnine/default.nix
···
"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"
];
+1 -1
pkgs/development/python-modules/pmdsky-debug-py/default.nix
···
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";
+1 -1
pkgs/development/python-modules/psutil/default.nix
···
# 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"
+1 -1
pkgs/development/python-modules/pueblo/default.nix
···
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
+1 -1
pkgs/development/python-modules/pulumi-aws/default.nix
···
buildPythonPackage rec {
pname = "pulumi-aws";
-
# Version is independant of pulumi's.
+
# Version is independent of pulumi's.
version = "6.66.3";
pyproject = true;
+1 -1
pkgs/development/python-modules/pybigwig/default.nix
···
pytestFlagsArray = [ "pyBigWigTest/test*.py" ];
disabledTests = [
-
# Test file is donwloaded from GitHub
+
# Test file is downloaded from GitHub
"testAll"
"testBigBed"
"testFoo"
+1 -1
pkgs/development/python-modules/pycomm3/default.nix
···
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/"
+1 -1
pkgs/development/python-modules/pyflic/default.nix
···
sha256 = "sha256-K1trMBZfc1aHSNSddq0v//Gv8ySgT/ONQYgrKWzw2qs=";
};
-
# Projec thas no tests
+
# Project thas no tests
doCheck = false;
pythonImportsCheck = [ "pyflic" ];
+1 -1
pkgs/development/python-modules/pyls-memestra/default.nix
···
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" ];
+1 -1
pkgs/development/python-modules/pymitv/default.nix
···
propagatedBuildInputs = [ requests ];
-
# Projec thas no tests
+
# Project thas no tests
doCheck = false;
pythonImportsCheck = [ "pymitv" ];
+1 -1
pkgs/development/python-modules/pyskyqhub/default.nix
···
propagatedBuildInputs = [ aiohttp ];
-
# Tests require phyiscal hardware
+
# Tests require physical hardware
doCheck = false;
pythonImportsCheck = [ "pyskyqhub" ];
+1 -1
pkgs/development/python-modules/pysnow/default.nix
···
];
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";
+1 -1
pkgs/development/python-modules/pytest-pytestrail/default.nix
···
propagatedBuildInputs = [ testrail-api ];
-
# all tests require network accesss
+
# all tests require network access
doCheck = false;
pythonImportsCheck = [ "pytest_pytestrail" ];
+1 -1
pkgs/development/python-modules/pytest-server-fixtures/default.nix
···
six
];
-
# Don't run intergration tests
+
# Don't run integration tests
doCheck = false;
meta = with lib; {
+1 -1
pkgs/development/python-modules/python3-saml/default.nix
···
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"
+1 -1
pkgs/development/python-modules/qutip/default.nix
···
};
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"
+1 -1
pkgs/development/python-modules/rcssmin/default.nix
···
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;
+1 -1
pkgs/development/python-modules/rjsmin/default.nix
···
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;
+1 -1
pkgs/development/python-modules/rki-covid-parser/default.nix
···
];
disabledTestPaths = [
-
# Tests require netowrk access
+
# Tests require network access
"tests/test_districts.py"
"tests/test_endpoint_availibility.py"
];
+1 -1
pkgs/development/python-modules/seabreeze/default.nix
···
numpy,
libusb-compat-0_1,
-
# optional-dependenices
+
# optional-dependencies
pyusb,
# tests
+1 -1
pkgs/development/python-modules/sentry-sdk/1.nix
···
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/"
]
+2 -2
pkgs/development/python-modules/sip/4.x.nix
···
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)
+1 -1
pkgs/development/python-modules/skytemple-files/default.nix
···
pmdsky-debug-py,
range-typed-integers,
pythonOlder,
-
# optional dependancies for SpriteCollab
+
# optional dependencies for SpriteCollab
aiohttp,
lru-dict,
graphql-core,
+1 -1
pkgs/development/python-modules/spacy-loggers/default.nix
···
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; {
+1 -1
pkgs/development/python-modules/sphinx-version-warning/default.nix
···
}:
# 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";
+1 -1
pkgs/development/python-modules/stm32loader/default.nix
···
# build-system
flit-core,
-
# dependenices
+
# dependencies
progress,
pyserial,
+1 -1
pkgs/development/python-modules/torchaudio/default.nix
···
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";
+1 -1
pkgs/development/python-modules/tree-sitter-languages/default.nix
···
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
+1 -1
pkgs/development/python-modules/treq/default.nix
···
incremental,
setuptools,
-
# dependenices
+
# dependencies
attrs,
hyperlink,
requests,
+1 -1
pkgs/development/python-modules/upass/default.nix
···
urwid
];
-
# Projec thas no tests
+
# Project thas no tests
doCheck = false;
postInstall = ''
+1 -1
pkgs/development/python-modules/verlib2/default.nix
···
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
+1 -1
pkgs/development/python-modules/xmind/default.nix
···
sha256 = "xC1WpHz2eHb5+xShM/QUQAIYnJNyK1EKWbTXJKhDwbQ=";
};
-
# Projec thas no tests
+
# Project thas no tests
doCheck = false;
pythonImportsCheck = [ "xmind" ];
+1 -1
pkgs/development/rocm-modules/6/rocgdb/default.nix
···
];
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"
+1 -1
pkgs/development/ruby-modules/bundler-app/default.nix
···
# 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,
+1 -1
pkgs/development/ruby-modules/gem/default.nix
···
# 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.
+1 -1
pkgs/development/skaware-packages/build-skaware-package.nix
···
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)
+1 -1
pkgs/development/tools/electron/chromedriver/generic.nix
···
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
+1 -1
pkgs/development/tools/misc/texinfo/common.nix
···
libiconv,
xz,
-
# we are a dependency of gcc, this simplifies bootstraping
+
# we are a dependency of gcc, this simplifies bootstrapping
interactive ? false,
ncurses,
procps,
+1 -1
pkgs/development/tools/misc/texinfo/packages.nix
···
libiconv,
xz,
-
# we are a dependency of gcc, this simplifies bootstraping
+
# we are a dependency of gcc, this simplifies bootstrapping
interactive ? false,
ncurses,
procps,
+1 -1
pkgs/development/tools/rtags/default.nix
···
'';
};
-
# 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 {
+1 -1
pkgs/games/dwarf-fortress/game.nix
···
;
# 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";
+1 -1
pkgs/games/gscrabble/default.nix
···
'';
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;
+1 -1
pkgs/games/openra_2019/default.nix
···
/*
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,
+2 -2
pkgs/games/openra_2019/engine.nix
···
/*
-
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,
+1 -1
pkgs/games/openra_2019/mod.nix
···
/*
-
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,
+1 -1
pkgs/games/openra_2019/packages.nix
···
/*
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,
+1 -1
pkgs/misc/my-env/default.nix
···
-
# 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:
+1 -1
pkgs/misc/uboot/default.nix
···
# 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.
+1 -1
pkgs/os-specific/bsd/freebsd/pkgs/libspl.nix
···
"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
'';
+3 -3
pkgs/os-specific/bsd/freebsd/pkgs/libzfs.nix
···
# 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"
···
'';
# 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 =
''
+1 -1
pkgs/os-specific/darwin/libunwind/default.nix
···
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"
+1 -1
pkgs/os-specific/linux/kvmfr/default.nix
···
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";
+1 -1
pkgs/os-specific/linux/minimal-bootstrap/heirloom/default.nix
···
# "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
+1 -1
pkgs/os-specific/linux/scx/scx_cscheds.nix
···
(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
+1 -1
pkgs/os-specific/linux/tp_smapi/default.nix
···
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"
+1 -1
pkgs/stdenv/booter.nix
···
# 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 }:
+2 -2
pkgs/stdenv/darwin/default.nix
···
};
# 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.
···
# 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 (
+1 -1
pkgs/stdenv/generic/make-derivation.nix
···
# 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;
+1 -1
pkgs/test/coq/overrideCoqDerivation/default.nix
···
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 // {
+1 -1
pkgs/tools/admin/google-cloud-sdk/components.nix
···
}:
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";
+1 -1
pkgs/tools/filesystems/ceph/default.nix
···
# | ^~~~~~~~~~~~~~~~~~
# 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"
+1 -1
pkgs/tools/graphics/gnuplot/default.nix
···
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
+1 -1
pkgs/tools/inputmethods/m17n-lib/default.nix
···
strictDeps = true;
-
# reconf needed to sucesfully cross-compile
+
# reconf needed to successfully cross-compile
nativeBuildInputs = [
autoreconfHook
pkg-config
+1 -1
pkgs/tools/misc/diffoscope/default.nix
···
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, ... }:
+1 -1
pkgs/tools/package-management/akku/akku.nix
···
git
];
-
# Use a dummy package index to boostrap Akku
+
# Use a dummy package index to bootstrap Akku
preBuild = ''
touch bootstrap.db
'';
+1 -1
pkgs/tools/typesetting/tex/texlive/default.nix
···
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.
+1 -1
pkgs/top-level/coq-packages.nix
···
* 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.
*/
+1 -1
pkgs/top-level/cuda-packages.nix
···
#
# 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`.
+1 -1
pkgs/top-level/default.nix
···
# 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;
+1 -1
pkgs/top-level/pkg-config/test-defaultPkgConfigPackages.nix
···
# 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
+1 -1
pkgs/top-level/python2-packages.nix
···
-
# 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.
+1 -1
pkgs/top-level/release-cross.nix
···
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;
+1 -1
pkgs/top-level/rocq-packages.nix
···
* 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.
*/