| Commit message (Expand) | Author | Age | Files | Lines |
| * | treewide: clean up 'meta = with' pattern•••This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.
Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
| Ihar Hrachyshka | 2025-12-10 | 1 | -3/+3 |
| * | various: fix superflous pname values and interpolation | Guy Chronister | 2025-09-24 | 1 | -1/+1 |
| * | krunvm: 0.2.3 -> 0.2.4•••Diff: https://github.com/containers/krunvm/compare/v0.2.3...v0.2.4
| Nick Cao | 2025-09-01 | 1 | -3/+3 |
| * | treewide: run nixfmt 1.0.0 | Wolfgang Walther | 2025-07-24 | 1 | -6/+8 |
| * | Revert "treewide: replace `rev` with `tag`"•••This reverts commit 65a333600d5c88a98d674f637d092807cfc12253.
This wasn't tested for correctness with something like fodwatch [0],
and should not have been (self-)merged so quickly, especially without
further review.
It also resulted in the breakage of at least one package [1] (and that's
the one we know of and was caught).
A few packages that were updated in between this commit and this revert
were not reverted back to using `rev`, but other than that, this is a
1:1 revert.
[0]: https://codeberg.org/raphaelr/fodwatch
[1]: https://github.com/NixOS/nixpkgs/pull/396904 / 758551e4587d75882aebc21a04bee960418f8ce9
| Winter | 2025-04-08 | 1 | -1/+1 |
| * | treewide: replace `rev` with `tag` | Pol Dellaiera | 2025-04-07 | 1 | -1/+1 |
| * | treewide: migrate to fetchCargoVendor, batch 4•••Cargo 1.84.0 seems to have changed the output format of cargo vendor
again, once again invalidating fetchCargoTarball FOD hashes. It's
time to fix this once and for all, switching across the board to
fetchCargoVendor, which is not dependent on cargo vendor's output
format.
It should be possible to reproduce this diff. To generate it, I first
ran:
xargs sed -i 's/fetchCargoTarball/fetchCargoVendor/g'
The following manually identified list of files were given as standard
input:
pkgs/applications/graphics/drawpile/default.nix
pkgs/applications/graphics/gnome-decoder/default.nix
pkgs/applications/graphics/gnome-obfuscate/default.nix
pkgs/applications/misc/openbangla-keyboard/default.nix
pkgs/applications/version-management/git-cinnabar/default.nix
pkgs/applications/version-management/mercurial/default.nix
pkgs/applications/version-management/silver-platter/default.nix
pkgs/applications/virtualization/krunvm/default.nix
pkgs/development/libraries/librsvg/default.nix
pkgs/development/python-modules/aardwolf/default.nix
pkgs/development/python-modules/adblock/default.nix
pkgs/development/python-modules/ahocorasick-rs/default.nix
pkgs/development/python-modules/bcrypt/default.nix
pkgs/development/python-modules/biliass/default.nix
pkgs/development/python-modules/chromadb/default.nix
pkgs/development/python-modules/clarabel/default.nix
pkgs/development/python-modules/cmsis-pack-manager/default.nix
pkgs/development/python-modules/copykitten/default.nix
pkgs/development/python-modules/cramjam/default.nix
pkgs/development/python-modules/cryptg/default.nix
pkgs/development/python-modules/cryptography/default.nix
pkgs/development/python-modules/css-inline/default.nix
pkgs/development/python-modules/deebot-client/default.nix
pkgs/development/python-modules/deltalake/default.nix
pkgs/development/python-modules/etebase/default.nix
pkgs/development/python-modules/evtx/default.nix
pkgs/development/python-modules/fastcrc/default.nix
pkgs/development/python-modules/flaxlib/default.nix
pkgs/development/python-modules/gb-io/default.nix
pkgs/development/python-modules/glean-sdk/default.nix
pkgs/development/python-modules/hf-transfer/default.nix
pkgs/development/python-modules/jh2/default.nix
pkgs/development/python-modules/johnnycanencrypt/default.nix
pkgs/development/python-modules/kurbopy/default.nix
pkgs/development/python-modules/libcst/default.nix
pkgs/development/python-modules/lzallright/default.nix
pkgs/development/python-modules/netifaces2/default.nix
pkgs/development/python-modules/nlpo3/default.nix
pkgs/development/python-modules/nutils-poly/default.nix
pkgs/development/python-modules/nutpie/default.nix
pkgs/development/python-modules/orjson/default.nix
pkgs/development/python-modules/pdoc-pyo3-sample-library/default.nix
pkgs/development/python-modules/pendulum/default.nix
pkgs/development/python-modules/primp/default.nix
pkgs/development/python-modules/py-sr25519-bindings/default.nix
pkgs/development/python-modules/pycddl/default.nix
pkgs/development/python-modules/pydantic-core/default.nix
pkgs/development/python-modules/pyperscan/default.nix
pkgs/development/python-modules/pysequoia/default.nix
pkgs/development/python-modules/python-bidi/default.nix
pkgs/development/python-modules/python-kadmin-rs/default.nix
pkgs/development/python-modules/qiskit-terra/default.nix
pkgs/development/python-modules/regress/default.nix
pkgs/development/python-modules/rpds-py/default.nix
pkgs/development/python-modules/rtoml/default.nix
pkgs/development/python-modules/rustworkx/default.nix
pkgs/development/python-modules/safetensors/default.nix
pkgs/development/python-modules/skytemple-rust/default.nix
pkgs/development/python-modules/sourmash/default.nix
pkgs/development/python-modules/spacy-alignments/default.nix
pkgs/development/python-modules/sudachipy/default.nix
pkgs/development/python-modules/test-results-parser/default.nix
pkgs/development/python-modules/tiktoken/default.nix
pkgs/development/python-modules/tokenizers/default.nix
pkgs/development/python-modules/tree-sitter-make/default.nix
pkgs/development/python-modules/whenever/default.nix
pkgs/development/python-modules/y-py/default.nix
pkgs/development/python-modules/zxcvbn-rs-py/default.nix
pkgs/development/r-modules/default.nix
pkgs/games/ddnet/default.nix
pkgs/servers/matrix-synapse/plugins/rendezvous.nix
pkgs/tools/filesystems/ceph/default.nix
pkgs/tools/filesystems/ceph/old-python-packages/cryptography.nix
Then I ran:
xargs -n 1 nix-update --version=skip
With this list of attributes corresponding to the changed files given
as standard input:
drawpile
gnome-decoder
gnome-obfuscate
ibus-engines.openbangla-keyboard
git-cinnabar
mercurial
silver-platter
krunvm
librsvg
python3Packages.aardwolf
python3Packages.adblock
python3Packages.ahocorasick-rs
python3Packages.bcrypt
python3Packages.biliass
python3Packages.chromadb
python3Packages.clarabel
python3Packages.cmsis-pack-manager
python3Packages.copykitten
python3Packages.cramjam
python3Packages.cryptg
python3Packages.cryptography
python3Packages.css-inline
python3Packages.deebot-client
python3Packages.deltalake
python3Packages.etebase
python3Packages.evtx
python3Packages.fastcrc
python3Packages.flaxlib
python3Packages.gb-io
python3Packages.glean-sdk
python3Packages.hf-transfer
python3Packages.jh2
python3Packages.johnnycanencrypt
python3Packages.kurbopy
python3Packages.libcst
python3Packages.lzallright
python3Packages.netifaces2
python3Packages.nlpo3
python3Packages.nutils-poly
python3Packages.nutpie
python3Packages.orjson
python3Packages.pdoc-pyo3-sample-library
python3Packages.pendulum
python3Packages.primp
python3Packages.py-sr25519-bindings
python3Packages.pycddl
python3Packages.pydantic-core
python3Packages.pyperscan
python3Packages.pysequoia
python3Packages.python-bidi
python3Packages.python-kadmin-rs
python3Packages.qiskit-terra
python3Packages.regress
python3Packages.rpds-py
python3Packages.rtoml
python3Packages.rustworkx
python3Packages.safetensors
python3Packages.skytemple-rust
python3Packages.sourmash
python3Packages.spacy-alignments
python3Packages.sudachipy
python3Packages.test-results-parser
python3Packages.tiktoken
python3Packages.tokenizers
python3Packages.tree-sitter-make
python3Packages.whenever
python3Packages.y-py
python3Packages.zxcvbn-rs-py
rPackages.gifski
rPackages.timeless
ddnet
matrix-synapse-plugins.matrix-http-rendezvous-synapse
ceph.python.pkgs.bcrypt
ceph.python.pkgs.cryptography
The list of files for the first command and the list of attributes for
the second command are in the same order, so it should be easy enough
to check their correspondence by putting them side by side.
It might be possible to parallelize the nix-update operations using
xargs' -P option. I haven't tested it.
I also manually removed the now-outdated comment in
pkgs/development/libraries/librsvg/default.nix.
| Alyssa Ross | 2025-01-26 | 1 | -2/+2 |
| * | treewide: format all inactive Nix files•••After final improvements to the official formatter implementation,
this commit now performs the first treewide reformat of Nix files using it.
This is part of the implementation of RFC 166.
Only "inactive" files are reformatted, meaning only files that
aren't being touched by any PR with activity in the past 2 months.
This is to avoid conflicts for PRs that might soon be merged.
Later we can do a full treewide reformat to get the rest,
which should not cause as many conflicts.
A CI check has already been running for some time to ensure that new and
already-formatted files are formatted, so the files being reformatted here
should also stay formatted.
This commit was automatically created and can be verified using
nix-build https://github.com/infinisil/treewide-nixpkgs-reformat-script/archive/a08b3a4d199c6124ac5b36a889d9099b4383463f.tar.gz \
--argstr baseRev 57b193d8ddeaf4f5219d2bae1d23b081e4906e57
result/bin/apply-formatting $NIXPKGS_PATH
| Silvan Mosberger | 2024-12-10 | 1 | -16/+19 |
| * | treewide: replace `stdenv.is` with `stdenv.hostPlatform.is`•••In preparation for the deprecation of `stdenv.isX`.
These shorthands are not conducive to cross-compilation because they
hide the platforms.
Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way
One example of why this is bad and especially affects compiler packages
https://www.github.com/NixOS/nixpkgs/pull/343059
There are too many files to go through manually but a treewide should
get users thinking when they see a `hostPlatform.isX` in a place where it
doesn't make sense.
```
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is"
fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is"
fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is"
```
| Artturin | 2024-09-25 | 1 | -3/+3 |
| * | treewide: Remove indefinite article from meta.description•••nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
| xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
| Alexis Hildebrandt | 2024-06-09 | 1 | -1/+1 |
| * | treewide: add mainProgram | h7x4 | 2023-11-27 | 1 | -0/+1 |
| * | treewide: don't use rustPlatform.rust•••This will be deprecated in the next commit.
| Alyssa Ross | 2023-05-12 | 1 | -4/+6 |
| * | krunvm: set meta.platforms | Nick Cao | 2023-01-26 | 1 | -0/+1 |
| * | krunvm: 0.2.2 -> 0.2.3 | Nick Cao | 2022-11-30 | 1 | -3/+3 |
| * | krunvm: 0.2.1 -> 0.2.2 | Nick Cao | 2022-11-30 | 1 | -3/+3 |
| * | krunvm: add support for darwin | Jiajie Chen | 2022-08-18 | 1 | -3/+32 |
| * | krunvm: init at 0.2.1 | Nick Cao | 2022-08-13 | 1 | -0/+42 |