goarista: add passthru.updateScript (#442223)

This commit is contained in:
Winter
2026-03-06 02:43:26 +00:00
committed by GitHub
2 changed files with 13 additions and 0 deletions
+2
View File
@@ -18,6 +18,8 @@ buildGoModule {
vendorHash = "sha256-n+P3L3dT2kYuTyI2qX/nrLRgFIUsP3kkwNZmRQ8EFRs=";
passthru.updateScript = ./update.sh;
checkFlags =
let
skippedTests = [
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env nix-shell
#!nix-shell -i bash -p nix-update gnused
set -eou pipefail
nix-update pkgs.goarista --version branch
# The last github release in 2020 was named ockafka-v0.0.5.
# I don't want this in the version name, it's from when Arista
# was doing per-package releases in the repo, and not just trunk
sed -i 's/ockafka-v0\.0\.5-/0-/' pkgs/by-name/go/goarista/package.nix