R. Ryantm
79ce338fe0
hcloud: 1.66.0 -> 1.67.0
2026-07-24 15:40:37 +00:00
R. Ryantm
18c3d360c0
hcloud: 1.64.1 -> 1.66.0
2026-06-26 14:24:08 +00:00
R. Ryantm
58e5f4db2a
hcloud: 1.62.2 -> 1.64.1
2026-05-02 11:57:21 +00:00
R. Ryantm
ccedc7eefb
hcloud: 1.61.0 -> 1.62.2
2026-04-15 09:04:43 +00:00
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
R. Ryantm
0e3f845a0e
hcloud: 1.60.0 -> 1.61.0
2026-01-23 20:07:49 +00:00
R. Ryantm
bd409fb1dd
hcloud: 1.59.0 -> 1.60.0
2026-01-16 20:07:56 +00:00
R. Ryantm
a73bc78082
hcloud: 1.58.0 -> 1.59.0
2026-01-05 20:01:57 +00:00
R. Ryantm
2cab18d426
hcloud: 1.57.0 -> 1.58.0
2025-12-18 19:56:28 +00:00
R. Ryantm
76662bd789
hcloud: 1.56.0 -> 1.57.0
2025-11-14 09:24:52 +00:00
R. Ryantm
cac9cac707
hcloud: 1.55.0 -> 1.56.0
2025-11-07 14:09:26 +00:00
R. Ryantm
77de63de73
hcloud: 1.54.0 -> 1.55.0
2025-10-21 14:06:41 +00:00
R. Ryantm
6d1af9ec38
hcloud: 1.53.0 -> 1.54.0
2025-10-07 13:53:42 +00:00
R. Ryantm
26750a9229
hcloud: 1.52.0 -> 1.53.0
2025-09-25 14:05:37 +00:00
R. Ryantm
c0ec971756
hcloud: 1.51.0 -> 1.52.0
2025-09-08 14:33:15 +00:00
liberodark
c6729488de
treewide: remove with lib Part 4
2025-06-07 00:48:50 +02:00
R. Ryantm
fd1131b86c
hcloud: 1.50.0 -> 1.51.0
2025-05-30 13:49:04 +00:00
R. Ryantm
8a3d51f95a
hcloud: 1.49.0 -> 1.50.0
2025-01-17 00:37:33 +00:00
Peder Bergebakken Sundt
0cd04d3036
treewide: migrate fetchgit rev = "refs/tags/..." to tag
2025-01-04 00:19:17 +01: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
techknowlogick
002cd3366a
hcloud: 1.48.0 -> 1.49.0
2024-11-18 15:55:06 -05:00
aleksana
571c71e6f7
treewide: migrate packages to pkgs/by-name, take 1
...
We are migrating packages that meet below requirements:
1. using `callPackage`
2. called path is a directory
3. overriding set is empty (`{ }`)
4. not containing path expressions other than relative path (to
makenixpkgs-vet happy)
5. not referenced by nix files outside of the directory, other
than`pkgs/top-level/all-packages.nix`
6. not referencing nix files outside of the directory
7. not referencing `default.nix` (since it's changed to `package.nix`)
8. `outPath` doesn't change after migration
The tool is here: https://github.com/Aleksanaa/by-name-migrate .
2024-11-09 20:04:51 +08:00