Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: openclaw 2026.5.6 -> 2026.5.7 https://github.com/openclaw/openclaw/releases attrpath: openclaw Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorHash [npmDepsVersion] [npmDepsVersion] skipping because derivation has updateScript [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/p1wmmd1ls5ilpv566kaqavbjzhmpvyar-packages.json.drv building '/nix/store/p1wmmd1ls5ilpv566kaqavbjzhmpvyar-packages.json.drv'... Going to be running update for following packages: - openclaw-2026.5.6 Press Enter key to continue... Running update for: Enqueuing group of 1 packages - openclaw-2026.5.6: UPDATING ... - openclaw-2026.5.6: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/by-name/op/openclaw/package.nix b/pkgs/by-name/op/openclaw/package.nix index c1c5460b3f7c..6f99a452cf40 100644 --- a/pkgs/by-name/op/openclaw/package.nix +++ b/pkgs/by-name/op/openclaw/package.nix @@ -11,7 +11,7 @@ versionCheckHook, rolldown, installShellFiles, - version ? "2026.5.6", + version ? "2026.5.7", }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "openclaw"; @@ -21,10 +21,10 @@ stdenvNoCC.mkDerivation (finalAttrs: { owner = "openclaw"; repo = "openclaw"; tag = "v${finalAttrs.version}"; - hash = "sha256-svziVePavoMxEUQAaNkv+67tSUOywblefmeTWtmKo9Y="; + hash = "sha256-ICkq6YfMJVvRC93sM+7/q2JI82wUhjaYAI3pRzmTHYc="; }; - pnpmDepsHash = "sha256-kz9vE1A/GTkw/HH2ts4hxTJzrdkYhiLaJQP0AeAS3Bo="; + pnpmDepsHash = "sha256-LXaRfZ0WY8VDpDc2zFr+Oel6AuYo6SiTrp37yokT1VU="; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; No auto update branch exists Old version 2026.5.6" not present in master derivation file with contents: { lib, stdenvNoCC, buildPackages, fetchFromGitHub, fetchPnpmDeps, pnpmConfigHook, pnpm_10, nodejs_22, makeWrapper, versionCheckHook, rolldown, installShellFiles, version ? "2026.5.7", }: stdenvNoCC.mkDerivation (finalAttrs: { pname = "openclaw"; version = version; src = fetchFromGitHub { owner = "openclaw"; repo = "openclaw"; tag = "v${finalAttrs.version}"; hash = "sha256-ICkq6YfMJVvRC93sM+7/q2JI82wUhjaYAI3pRzmTHYc="; }; pnpmDepsHash = "sha256-LXaRfZ0WY8VDpDc2zFr+Oel6AuYo6SiTrp37yokT1VU="; pnpmDeps = fetchPnpmDeps { inherit (finalAttrs) pname version src; pnpm = pnpm_10; fetcherVersion = 3; hash = finalAttrs.pnpmDepsHash; }; buildInputs = [ rolldown ]; nativeBuildInputs = [ pnpmConfigHook pnpm_10 nodejs_22 makeWrapper installShellFiles ]; buildPhase = '' runHook preBuild pnpm install --frozen-lockfile # Replace pnpm-installed rolldown with the Nix-built version rm -rf node_modules/rolldown node_modules/@rolldown/pluginutils mkdir -p node_modules/@rolldown node_modules/.pnpm/node_modules/@rolldown cp -r ${rolldown}/lib/node_modules/rolldown node_modules/rolldown cp -r ${rolldown}/lib/node_modules/@rolldown/pluginutils node_modules/@rolldown/pluginutils cp -r ${rolldown}/lib/node_modules/rolldown node_modules/.pnpm/node_modules/rolldown cp -r ${rolldown}/lib/node_modules/@rolldown/pluginutils node_modules/.pnpm/node_modules/@rolldown/pluginutils chmod -R u+w node_modules/rolldown node_modules/@rolldown/pluginutils \ node_modules/.pnpm/node_modules/rolldown node_modules/.pnpm/node_modules/@rolldown/pluginutils pnpm build pnpm ui:build runHook postBuild ''; installPhase = '' runHook preInstall libdir=$out/lib/openclaw mkdir -p $libdir $out/bin cp --reflink=auto -r package.json dist node_modules $libdir/ cp --reflink=auto -r docs skills patches extensions qa $libdir/ rm -f $libdir/node_modules/.pnpm/node_modules/clawdbot \ $libdir/node_modules/.pnpm/node_modules/moltbot \ $libdir/node_modules/.pnpm/node_modules/openclaw-control-ui # Remove broken symlinks created by pnpm workspace linking in extensions find $libdir/extensions -xtype l -delete # Remove symlinks pointing back to the build sandbox find $libdir/dist/extensions -type l -lname "$NIX_BUILD_TOP/*" -delete makeWrapper ${lib.getExe nodejs_22} $out/bin/openclaw \ --add-flags "$libdir/dist/index.js" \ --set NODE_PATH "$libdir/node_modules" ln -s $out/bin/openclaw $out/bin/moltbot ln -s $out/bin/openclaw $out/bin/clawdbot runHook postInstall ''; postInstall = lib.optionalString (stdenvNoCC.hostPlatform.emulatorAvailable buildPackages) ( let emulator = stdenvNoCC.hostPlatform.emulator buildPackages; in '' installShellCompletion --cmd openclaw \ --bash <(${emulator} $out/bin/openclaw completion --shell bash) \ --fish <(${emulator} $out/bin/openclaw completion --shell fish) \ --zsh <(${emulator} $out/bin/openclaw completion --shell zsh) '' ); nativeInstallCheckInputs = [ versionCheckHook ]; doInstallCheck = true; passthru.updateScript = ./update.sh; meta = { description = "Self-hosted, open-source AI assistant/agent"; longDescription = '' Self-hosted AI assistant/agent connected to all your apps on your Linux or macOS machine and controlled via your choice of chat app. Note: Project is in early/rapid development and uses LLMs to parse untrusted content while having full access to system by default. Parsing untrusted input with LLMs leaves them vulnerable to prompt injection. (Originally known as Moltbot and ClawdBot) ''; homepage = "https://openclaw.ai"; changelog = "https://github.com/openclaw/openclaw/releases/tag/${finalAttrs.src.tag}"; license = lib.licenses.mit; mainProgram = "openclaw"; maintainers = with lib.maintainers; [ chrisportela mkg20001 ]; platforms = with lib.platforms; linux ++ darwin; knownVulnerabilities = [ "Project uses LLMs to parse untrusted content, making it vulnerable to prompt injection, while having full access to system by default." ]; }; })