goarista: add passthru.updateScript
This commit is contained in:
@@ -18,6 +18,8 @@ buildGoModule {
|
||||
|
||||
vendorHash = "sha256-n+P3L3dT2kYuTyI2qX/nrLRgFIUsP3kkwNZmRQ8EFRs=";
|
||||
|
||||
passthru.updateScript = ./update.sh;
|
||||
|
||||
checkFlags =
|
||||
let
|
||||
skippedTests = [
|
||||
|
||||
Executable
+11
@@ -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
|
||||
Reference in New Issue
Block a user