Thomas Butter
ad078de08a
gatus: 5.35.0 -> 5.36.0
2026-06-15 07:24:16 +00:00
R. Ryantm
eb0247b5da
gatus: 5.34.0 -> 5.35.0
2026-02-21 01:48:56 +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
f660910a46
gatus: 5.33.1 -> 5.34.0
2026-01-03 07:08:34 +00:00
R. Ryantm
34312fbfe3
gatus: 5.31.0 -> 5.33.1
2025-12-19 15:08:01 +00:00
Ihar Hrachyshka
567e8dfd8e
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 >
2025-12-10 18:09:49 +01:00
R. Ryantm
0826c4c43f
gatus: 5.30.0 -> 5.31.0
2025-11-09 01:10:56 +00:00
R. Ryantm
9b6dcd78f0
gatus: 5.28.0 -> 5.30.0
2025-11-01 06:05:33 +00:00
R. Ryantm
7f4c029bee
gatus: 5.27.0 -> 5.28.0
2025-10-24 06:33:01 +00:00
R. Ryantm
26dc12088e
gatus: 5.26.0 -> 5.27.0
2025-10-18 07:41:50 +00:00
R. Ryantm
29478780dd
gatus: 5.25.0 -> 5.26.0
2025-10-08 08:42:56 +00:00
R. Ryantm
70d4e1e948
gatus: 5.24.0 -> 5.25.0
2025-09-28 20:44:45 +00:00
R. Ryantm
6286b2acd5
gatus: 5.23.2 -> 5.24.0
2025-09-18 01:12:28 +00:00
undefined
5365b3cdd9
gatus: 5.19.0 -> 5.23.2
2025-08-30 05:51:34 +08:00
TilCreator
f485a9f52b
gatus: 5.17.0 -> 5.19.0
2025-07-07 17:01:47 +02:00
Winter
a19cd4ffb1
Revert "treewide: replace rev with tag"
...
This reverts commit 65a333600d .
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 / 758551e458
2025-04-08 02:57:25 -04:00
Pol Dellaiera
65a333600d
treewide: replace rev with tag
2025-04-07 16:57:22 +02:00
R. Ryantm
727f70f632
gatus: 5.16.0 -> 5.17.0
2025-03-22 09:27:13 +00:00
R. Ryantm
0f2db7e1ad
gatus: 5.15.0 -> 5.16.0
2025-02-18 01:42:37 +00:00
R. Ryantm
22a3cd5735
gatus: 5.14.0 -> 5.15.0
2024-12-30 17:09:41 +00:00
R. Ryantm
05cf769b6d
gatus: 5.13.1 -> 5.14.0
2024-12-20 13:41:30 +00:00
R. Ryantm
3d7bcbb810
gatus: 5.13.0 -> 5.13.1
2024-12-07 05:47:36 +00:00
R. Ryantm
fc2523c753
gatus: 5.12.1 -> 5.13.0
2024-10-26 18:23:28 +00:00
Pim Kunis
7d68a055b9
gatus: add nixosTest
2024-09-19 21:35:06 +02:00
R. Ryantm
c419ea1a5f
gatus: 5.12.0 -> 5.12.1
2024-09-09 11:44:23 +00:00
R. Ryantm
dd35b08c36
gatus: 5.11.0 -> 5.12.0
2024-08-27 12:56:58 +00:00
R. Ryantm
401acf0e42
gatus: 5.10.0 -> 5.11.0
2024-05-22 01:18:56 +00:00
R. Ryantm
cd88424fc7
gatus: 5.9.0 -> 5.10.0
2024-04-19 13:57:17 +00:00
R. Ryantm
f3e66fad04
gatus: 5.8.0 -> 5.9.0
2024-04-12 06:07:26 +00:00
R. Ryantm
12d782d42e
gatus: 5.7.0 -> 5.8.0
2024-03-16 00:55:27 +00:00
undefined
45d8784ca0
gatus: init at 5.7.0
2023-11-25 01:01:44 +08:00