Commit Graph

45 Commits

Author SHA1 Message Date
R. Ryantm
b8275d20b9 coroot-node-agent: 1.35.5 -> 1.35.8 2026-08-16 18:23:50 +00:00
Weijia Wang
809cba6c3e coroot-node-agent: 1.32.0 -> 1.35.5 (#512998) 2026-08-16 10:51:21 +00:00
asimon
9a08fa66ec coroot-node-agent: add allsimon as maintainer 2026-08-13 23:30:29 +02:00
R. Ryantm
a88a494922 coroot-node-agent: 1.32.0 -> 1.35.5 2026-08-08 05:13:14 +00:00
R. Ryantm
6e8cdf1f11 coroot-node-agent: 1.31.0 -> 1.32.0 2026-04-15 20:30:50 +00:00
R. Ryantm
519ca934ca coroot-node-agent: 1.30.0 -> 1.31.0 2026-04-04 19:45:40 +00:00
R. Ryantm
6bc76b4ac6 coroot-node-agent: 1.29.0 -> 1.30.0 2026-03-26 17:53:25 +00:00
R. Ryantm
cecc2a411a coroot-node-agent: 1.28.3 -> 1.29.0 2026-03-17 20:50:18 +00:00
Stefan Frijters
deb00b3e75 coroot-node-agent: move CGO_* env vars into env for structuredAttrs 2026-02-19 18:52:39 +01:00
R. Ryantm
7cbe177182 coroot-node-agent: 1.28.1 -> 1.28.3 2026-02-10 11:49:44 +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
5d9a170009 coroot-node-agent: 1.27.4 -> 1.28.1 2026-02-03 08:03:00 +00:00
R. Ryantm
50aa7fcbad coroot-node-agent: 1.27.3 -> 1.27.4 2026-01-27 11:48:30 +00:00
R. Ryantm
8e20cd863a coroot-node-agent: 1.27.2 -> 1.27.3 2026-01-20 15:00:34 +00:00
R. Ryantm
0c76bb9c69 coroot-node-agent: 1.27.1 -> 1.27.2 2026-01-05 20:42:30 +00:00
Nick Cao
7675e1fa59 coroot-node-agent: 1.27.0 -> 1.27.1 (#475408) 2026-01-01 21:06:15 +00:00
R. Ryantm
05688ed6e5 coroot-node-agent: 1.27.0 -> 1.27.1 2025-12-30 20:42:18 +00:00
asimon
cd4bdd0ea5 coroot-node-agent: support running it without GPU
see https://github.com/coroot/coroot-node-agent/issues/227
2025-12-18 13:37:38 +01:00
R. Ryantm
87ca02802d coroot-node-agent: 1.26.4 -> 1.27.0 2025-11-06 20:45:30 +00:00
R. Ryantm
30dcef68d0 coroot-node-agent: 1.26.3 -> 1.26.4 2025-10-21 15:23:12 +00:00
R. Ryantm
b4d06e2c43 coroot-node-agent: 1.26.2 -> 1.26.3 2025-10-15 15:43:58 +00:00
R. Ryantm
edcdfd5a60 coroot-node-agent: 1.26.1 -> 1.26.2 2025-10-05 02:49:12 +00:00
R. Ryantm
6dd18881de coroot-node-agent: 1.25.10 -> 1.26.1 2025-09-24 06:23:20 +00:00
R. Ryantm
49fe3feeee coroot-node-agent: 1.25.9 -> 1.25.10 2025-09-13 01:16:23 +00:00
R. Ryantm
8a29567ce2 coroot-node-agent: 1.25.6 -> 1.25.9 2025-09-01 17:46:31 +00:00
R. Ryantm
4efae0d058 coroot-node-agent: 1.25.5 -> 1.25.6 2025-08-13 17:41:11 +00:00
R. Ryantm
7e70a8ca6e coroot-node-agent: 1.25.4 -> 1.25.5 2025-07-17 08:51:41 +00:00
R. Ryantm
b2f1115602 coroot-node-agent: 1.25.1 -> 1.25.4 2025-06-28 12:20:57 +00:00
R. Ryantm
11eacc018e coroot-node-agent: 1.24.0 -> 1.25.1 2025-06-09 13:12:14 +00:00
R. Ryantm
61e2c11aeb coroot-node-agent: 1.23.23 -> 1.24.0 2025-05-30 06:48:33 +00:00
R. Ryantm
261ddf9a1c coroot-node-agent: 1.23.22 -> 1.23.23 2025-05-19 20:17:20 +00:00
R. Ryantm
37ad01804e coroot-node-agent: 1.23.17 -> 1.23.22 2025-04-30 02:05:41 +00:00
R. Ryantm
c79e124a56 coroot-node-agent: 1.23.16 -> 1.23.17 2025-04-21 02:33:17 +00:00
R. Ryantm
56b4d2a48d coroot-node-agent: 1.23.15 -> 1.23.16 2025-04-11 14:15:37 +00: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
2f6d3bcc39 coroot-node-agent: 1.23.14 -> 1.23.15 2025-03-28 20:39:33 +00:00
R. Ryantm
1e9375eef7 coroot-node-agent: 1.23.12 -> 1.23.14 2025-03-16 14:07:04 +00:00
R. Ryantm
01debcf475 coroot-node-agent: 1.23.11 -> 1.23.12 2025-03-03 14:29:58 +00:00
R. Ryantm
ee5b833993 coroot-node-agent: 1.23.8 -> 1.23.11 2025-02-18 22:36:58 +00:00
R. Ryantm
3c316b6e6e coroot-node-agent: 1.23.6 -> 1.23.8 2025-02-04 16:08:32 +00:00
R. Ryantm
d91e1d5b9a coroot-node-agent: 1.23.3 -> 1.23.6 2025-01-24 08:19:44 +00:00
R. Ryantm
6adcfc7294 coroot-node-agent: 1.23.1 -> 1.23.3 2025-01-10 10:35:01 +00:00
R. Ryantm
64d9222383 coroot-node-agent: 1.22.2 -> 1.23.1 2024-12-31 01:31:44 +00:00
Erno Hopearuoho
f543565191 coroot-node-agent: init at 1.22.2 2024-11-15 18:04:21 +02:00