quantenzitrone
9380e05c3c
various: switch buildGoModule packages to use finalAttrs
...
this shouldn't create any rebuilds
the following script was used to generate this:
```fish
#!/usr/bin/env fish
# nix shell .#nixfmt nixpkgs#{nixf-diagnose,ripgrep,sd}
set base (git rev-parse HEAD)
set scope pkgs/by-name
set builder buildGoModule
set files (rg --files-with-matches -F "$builder rec {" $scope | sort -u)
for file in $files
echo $file
sd -F "$builder rec {" "$builder (finalAttrs: {" $file
# version
sd -F 'version}' 'finalAttrs.version}' $file
sd -F '${version' '${finalAttrs.version' $file
sd -F '= version' '= finalAttrs.version' $file
sd -F 'inherit version;' 'inherit (finalAttrs) version;' $file
sd -F ' + version;' ' + finalAttrs.version;' $file
sd 'replaceStrings (.*) version' 'replaceStrings $1 finalAttrs.version' $file
sd -F 'splitVersion version' 'splitVersion finalAttrs.version' $file
sd -F 'versionAtLeast version' 'versionAtLeast finalAttrs.version' $file
sd 'versions\.([a-z]+) version' 'versions.$1 finalAttrs.version' $file
# src
sd -F 'src}' 'finalAttrs.src}' $file
sd -F '${src' '${finalAttrs.src' $file
sd -F '= src' '= finalAttrs.src' $file
sd -F 'inherit src;' 'inherit (finalAttrs) src;' $file
sd -F 'inherit (src' 'inherit (finalAttrs.src' $file
# meta
sd -F '${meta' '${finalAttrs.meta' $file
sd -F '= meta' '= finalAttrs.meta' $file
sd -F 'inherit (meta' 'inherit (finalAttrs.meta' $file
# other
sd -F 'inherit version src;' 'inherit (finalAttrs) version src;' $file
sd -F 'inherit src version;' 'inherit (finalAttrs) src version;' $file
sd -F 'makeLibraryPath buildInputs' 'makeLibraryPath finalAttrs.buildInputs' $file
sd -F 'buildInputs}' 'finalAttrs.buildInputs}' $file
sd -F 'desktopItem}' 'finalAttrs.desktopItem}' $file
sd -F 'runtimeLibs}' 'finalAttrs.runtimeLibs}' $file
sd -F 'libPath}' 'finalAttrs.libPath}' $file
sd -F 'runtimeDependencies}' 'finalAttrs.runtimeDependencies}' $file
sd -F 'nativeRuntimeInputs}' 'finalAttrs.nativeRuntimeInputs}' $file
sd -F '(!doCheck)' '(!finalAttrs.doCheck)' $file
sd -F 'optional doCheck' 'optional finalAttrs.doCheck' $file
sd -F 'optionals doCheck' 'optionals finalAttrs.doCheck' $file
sd -F '++ runtimeDependencies' '++ finalAttrs.runtimeDependencies' $file
# pname (restored afterwards)
sd -F 'pname}' 'finalAttrs.pname}' $file
sd -F '${pname' '${finalAttrs.pname' $file
sd -F '= pname' '= finalAttrs.pname' $file
# close finalAttrs lambda
echo ')' >>$file
# catch some errors early
if ! nixfmt $file
git restore $file
continue
end
if ! nixf-diagnose -i sema-primop-overridden $file
git restore $file
continue
end
end
set torestore (rg -F .finalAttrs --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
set torestore (rg -F finalAttrs.pname --files-with-matches $scope)
if test (count $torestore) -gt 0
git restore $torestore
end
# commit for faster eval times
git add pkgs
git commit --no-gpg-sign -m temp
set torestore
for file in $files
# file hasn't changed
if git diff --quiet $base $file
continue
end
# try to eval the package to definitely catch all errors
echo $file
set pname (string split / $file -f 4)
if ! nix eval .#$pname
set torestore $torestore $file
end
end
# restore files that don't eval
git reset --soft $base
git restore --staged .
if test (count $torestore) -gt 0
git restore $torestore
end
```
after that some manual cleanup was done:
- restoring files that cause changes in the number of lines
- restoring files that cause rebuilds
- restoring files that cause merge conflicts with staging
2026-02-07 09:28:59 +01:00
quantenzitrone
e5ff6c385d
various: rename references from libXxf86vm to libxxf86vm
...
this shouldn't create any rebuilds
2026-02-06 00:29:28 +01:00
quantenzitrone
43cdce2c39
various: rename references from libXrandr to libxrandr
...
this shouldn't create any rebuilds
2026-02-06 00:29:06 +01:00
quantenzitrone
77837f424c
various: rename references from libXi to libxi
...
this shouldn't create any rebuilds
2026-02-06 00:25:56 +01:00
quantenzitrone
5e4a1bdd9c
various: rename references from libXinerama to libxinerama
...
this shouldn't create any rebuilds
2026-02-06 00:25:42 +01:00
quantenzitrone
f67b5966bb
various: rename references from libXext to libxext
...
this shouldn't create any rebuilds
2026-02-06 00:25:36 +01:00
quantenzitrone
8382a53a4c
various: rename references from libXcursor to libxcursor
...
this shouldn't create any rebuilds
2026-02-06 00:24:45 +01:00
quantenzitrone
55280fa564
various: rename references from libX11 to libx11
...
this shouldn't create any rebuilds
2026-02-06 00:24:34 +01:00
R. Ryantm
7f0ef9c82c
aaaaxy: 1.6.288 -> 1.6.301
2025-10-17 12:31:38 +00:00
R. Ryantm
ded6796f74
aaaaxy: 1.6.283 -> 1.6.288
2025-09-01 17:23:20 +00:00
R. Ryantm
0e91f6b37b
aaaaxy: 1.6.271 -> 1.6.283
2025-08-21 06:29:41 +00:00
R. Ryantm
02204a0834
aaaaxy: 1.6.257 -> 1.6.271
2025-07-28 18:22:35 +00:00
Luflosi
b34f2f501e
aaaaxy: 1.6.252 -> 1.6.257
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.6.257
2025-07-15 17:42:10 +02:00
R. Ryantm
2afbb7c114
aaaaxy: 1.6.241 -> 1.6.252
2025-07-08 00:34:59 +00:00
Guy Chronister
b3f74569d7
treewide: migrate rev to tag batch 2
2025-06-24 13:24:35 +00:00
Guy Chronister
f2a2cfee8a
treewide: refactor meta section
2025-06-21 13:12:59 +00:00
R. Ryantm
0135b8feef
aaaaxy: 1.6.194 -> 1.6.241
2025-06-03 01:40:00 +00:00
Peder Bergebakken Sundt
c4f02ff31e
treewide: substitute pname for strings
2025-05-29 17:04:28 +02:00
R. Ryantm
f899e4f009
aaaaxy: 1.6.176 -> 1.6.194
2025-04-26 04:06:16 +00:00
R. Ryantm
fe66309160
aaaaxy: 1.6.64 -> 1.6.176
2025-04-07 15:04:07 +00:00
Guy Chronister
c2433eb858
aaaaxy: 1.6.0 -> 1.6.64
...
Diff: https://github.com/divVerent/aaaaxy/compare/v1.6.0...v1.6.64
Add missing command to nativebuildinputs
2025-03-26 11:25:18 -05:00
Luflosi
d29cce9d75
aaaaxy: 1.5.256 -> 1.6.0
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.6.0
2025-02-24 19:22:36 +01:00
R. Ryantm
cc26c8d852
aaaaxy: 1.5.250 -> 1.5.256
2025-01-19 09:51:59 +00:00
R. Ryantm
38cb928aca
aaaaxy: 1.5.220 -> 1.5.250
2025-01-07 00:59:28 +00:00
Silvan Mosberger
4f0dadbf38
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 a08b3a4d19 .tar.gz \
--argstr baseRev b32a094368
result/bin/apply-formatting $NIXPKGS_PATH
2024-12-10 20:26:33 +01:00
Luflosi
5255c5614d
aaaaxy: 1.5.208 -> 1.5.220
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.220
2024-11-07 11:34:16 +01:00
Luflosi
a9e8b838c8
aaaaxy: 1.5.202 -> 1.5.208
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.208
2024-10-07 19:02:40 +02:00
R. Ryantm
acc9061814
aaaaxy: 1.5.190 -> 1.5.202
2024-09-17 03:12:36 +00:00
Luflosi
218b5701c1
aaaaxy: 1.5.183 -> 1.5.190
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.190
2024-08-29 13:56:33 +02:00
R. Ryantm
3710b728b0
aaaaxy: 1.5.173 -> 1.5.183
2024-08-26 12:31:53 +00:00
Luflosi
3c315d6e91
aaaaxy: 1.5.139 -> 1.5.173
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.173
2024-07-09 21:27:43 +02:00
Alexis Hildebrandt
755b915a15
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/'
2024-06-09 23:07:45 +02:00
Luflosi
84b5b4cfa7
aaaaxy: 1.5.129 -> 1.5.139
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.139
2024-06-03 23:18:43 +02:00
Luflosi
6493d50082
aaaaxy: 1.5.54 -> 1.5.129
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.129
2024-05-13 17:36:43 +02:00
R. Ryantm
f3ac3b7f59
aaaaxy: 1.5.42 -> 1.5.54
2024-04-09 00:20:53 +00:00
stuebinm
ff1a94e523
treewide: add meta.mainProgram to packages with a single binary
...
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
R. Ryantm
2f5d6f37b0
aaaaxy: 1.5.23 -> 1.5.42
2024-03-05 01:09:03 +00:00
Luflosi
d2a31f99b9
aaaaxy: 1.5.6 -> 1.5.23
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.5.23
2024-02-26 18:45:04 +01:00
R. Ryantm
ebe95b82b1
aaaaxy: 1.4.160 -> 1.5.6
2024-02-20 07:36:59 +00:00
R. Ryantm
2afa5ec4ef
aaaaxy: 1.4.137 -> 1.4.160
2024-01-30 07:39:12 +00:00
Luflosi
5ff3ea822a
aaaaxy: 1.4.119 -> 1.4.137
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.4.137
2024-01-09 23:04:55 +01:00
Luflosi
5a7c7f79a5
aaaaxy: 1.4.101 -> 1.4.119
...
https://github.com/divVerent/aaaaxy/releases/tag/v1.4.119
2023-12-11 22:14:48 +01:00
Luflosi
56583f0ac1
aaaaxy: migrate to by-name
2023-12-11 22:14:47 +01:00