From 949f0d2153fa9dd3f5795d5ce4186df0244e56a2 Mon Sep 17 00:00:00 2001 From: Oleks Date: Tue, 12 May 2026 00:02:46 +0300 Subject: [PATCH] gitea-projects-api: refresh to 1.26.0-unstable-2026-05-11 Pin to gitea fork rev 20f31b8967a4 (tag v1.26.0-unstable-2026-05-11). Refreshed by nix-update via passthru.updateScript. --- packages/gitea-projects-api.nix | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/packages/gitea-projects-api.nix b/packages/gitea-projects-api.nix index 6b2c20b..b188c48 100644 --- a/packages/gitea-projects-api.nix +++ b/packages/gitea-projects-api.nix @@ -106,7 +106,14 @@ buildGoModule { "-s" "-w" "-X main.Version=${version}" - "-X 'main.Tags=${lib.concatStringsSep " " (lib.optionals sqliteSupport [ "sqlite" "sqlite_unlock_notify" ])}'" + "-X 'main.Tags=${ + lib.concatStringsSep " " ( + lib.optionals sqliteSupport [ + "sqlite" + "sqlite_unlock_notify" + ] + ) + }'" ]; postInstall = '' @@ -130,7 +137,12 @@ buildGoModule { passthru = { # Expose hashes nix-update needs to find when iterating. - pnpmDeps = frontend.pnpmDeps; + inherit (frontend) pnpmDeps; + + # Custom update flow: refresh hashes + retag the gitea fork + push. + # Invoke with `nix-update --use-update-script gitea-projects-api` or + # `just gitea-update` (which passes `--use-update-script`). + updateScript = ../scripts/update-gitea-projects-api.sh; }; meta = {