chore: repin openclaw to v2026.4.9

Move nix-openclaw to the current OpenClaw daily release and refresh the
release-coupled generated artifacts.

Also fix the Nix build wrapper for A2UI bundling by running the same tsc +
rolldown steps directly instead of relying on upstream's nested pnpm runner,
which exits silently inside the Nix build environment.

Verification:
- nix build .#openclaw-gateway --accept-flake-config -L
- nix build .#checks.aarch64-darwin.ci --accept-flake-config -L
- scripts/hm-activation-macos.sh (expected local USER mismatch: josh vs runner)
This commit is contained in:
joshp123 2026-04-10 00:31:47 +02:00
parent c0f70d6d74
commit 4aeb7501dd
4 changed files with 19 additions and 8 deletions

View File

@ -1,4 +1,4 @@
# Generated from upstream OpenClaw schema at rev abe7b2c49da95a47fc0fc01661cec9bfed6941fc. DO NOT EDIT.
# Generated from upstream OpenClaw schema at rev 0512059dd4e6d2e582393828b837c376ddc4719c. DO NOT EDIT.
# Generator: nix/scripts/generate-config-options.ts
{ lib }:
let
@ -286,6 +286,14 @@ in
type = t.nullOr (t.str);
default = null;
};
systemPromptFileConfigArg = lib.mkOption {
type = t.nullOr (t.str);
default = null;
};
systemPromptFileConfigKey = lib.mkOption {
type = t.nullOr (t.str);
default = null;
};
systemPromptMode = lib.mkOption {
type = t.nullOr (t.oneOf [ (t.enum [ "append" ]) (t.enum [ "replace" ]) ]);
default = null;

View File

@ -6,11 +6,11 @@
stdenvNoCC.mkDerivation {
pname = "openclaw-app";
version = "2026.4.8";
version = "2026.4.9";
src = fetchzip {
url = "https://github.com/openclaw/openclaw/releases/download/v2026.4.8/OpenClaw-2026.4.8.zip";
hash = "sha256-MD7cL0ONDyiU17DB1RDbkuBKBJw36NlQemoFRwxbcfA=";
url = "https://github.com/openclaw/openclaw/releases/download/v2026.4.9/OpenClaw-2026.4.9.zip";
hash = "sha256-/6WwYQz6Cl3AcZNK5Vyn5eqEaJTo8sj+2YdBWvgmYBA=";
stripRoot = false;
};

View File

@ -78,7 +78,10 @@ if [ -d "node_modules/.pnpm/node_modules/.bin" ]; then
fi
# Break down `pnpm build` (upstream package.json) so we can profile it.
log_step "build: canvas:a2ui:bundle" pnpm canvas:a2ui:bundle
# Upstream's bundle-a2ui script shells back out through pnpm-runner.
# In Nix builds that nested spawn can fail silently, so run the same steps directly.
log_step "build: canvas:a2ui:tsc" pnpm exec tsc -p vendor/a2ui/renderers/lit/tsconfig.json
log_step "build: canvas:a2ui:rolldown" node node_modules/rolldown/bin/cli.mjs -c apps/shared/OpenClawKit/Tools/CanvasA2UI/rolldown.config.mjs
log_step "build: tsdown" pnpm exec tsdown
log_step "build: plugin-sdk dts" pnpm build:plugin-sdk:dts
log_step "build: write-plugin-sdk-entry-dts" node --import tsx scripts/write-plugin-sdk-entry-dts.ts

View File

@ -2,7 +2,7 @@
{
owner = "openclaw";
repo = "openclaw";
rev = "abe7b2c49da95a47fc0fc01661cec9bfed6941fc";
hash = "sha256-Y9FvI6Vhyi+kBLVio7/Qz77NWBViYMD0KheV7cXyeXs=";
pnpmDepsHash = "sha256-GrGh7rACPl+eROOOBYzneWJxl+xsh39/m2+dNI01oaQ=";
rev = "0512059dd4e6d2e582393828b837c376ddc4719c";
hash = "sha256-wqvLBe+cEoo0x096fK6qKR8bDs4QHPTlxK5e64K4yls=";
pnpmDepsHash = "sha256-mdppNeJVf0Def0GohiKks6W3uzsaoJUYJo/ggGmypKQ=";
}