From 78c50dee87eb7cd3025fe1a70b0aea31a62a92e1 Mon Sep 17 00:00:00 2001 From: oqyude Date: Tue, 20 Oct 2026 00:05:27 +0300 Subject: [PATCH] feat(runner): add jq to hostPackages PATH of a host-mode job is exactly this list (nixos upstream module: path = coreutils ++ optionals wantsHost instance.hostPackages), so a tool that is not listed here simply does not exist for the job. scripts/update-manifest.sh in oqyude/winos hard-requires jq -- 'for dep in curl jq' -- and calls it 14 times. It is a vendored script (logic preserved verbatim from Dicklesworthstone/scoop-bucket), so the tool belongs here rather than being rewritten out of the script. Effect: the bucket auto-update workflow in oqyude/winos can actually apply the manifest updates it detects. Without jq it failed at 'required tool not found: jq' and every update was skipped. Requires a rebuild on sapphira to take effect: the runner's systemd unit gets its PATH from hostPackages at activation time. --- modules/server/gitea-runner.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/server/gitea-runner.nix b/modules/server/gitea-runner.nix index 6c29628..6990124 100644 --- a/modules/server/gitea-runner.nix +++ b/modules/server/gitea-runner.nix @@ -98,6 +98,9 @@ in nix python3 cacert + # scripts/update-manifest.sh in oqyude/winos hard-requires jq + # ("for dep in curl jq") and the runner's PATH is exactly this list. + jq ]; };