mirror of
https://github.com/openclaw/nix-openclaw.git
synced 2026-07-24 21:25:23 -04:00
[PR #1] Fix Home Manager activation and gateway defaults #32
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/openclaw/nix-openclaw/pull/1
Author: @manmal
Created: 1/3/2026
Status: 🔄 Open
Base:
main← Head:fix/nix-hm-runtime📝 Commits (7)
4516b72Fix home-manager runtime defaults9fba4aaFix plugin env attribute check9ff6703Avoid __MACOSX app bundle615ccd5Merge origin/main4895f56Bump Clawdis app to v2.0.0-beta57444972Fix Clawdis app beta5 hash41b86deBump bundle metadata to v2.0.0-beta5📊 Changes
5 files changed (+25 additions, -11 deletions)
View changed files
📝
docs/rfc/2026-01-02-declarative-clawdis-nix.md(+2 -3)📝
nix/modules/home-manager/clawdis.nix(+17 -2)📝
nix/packages/clawdis-app.nix(+4 -4)📝
nix/packages/clawdis-batteries.nix(+1 -1)📝
nix/packages/clawdis-gateway.nix(+1 -1)📄 Description
Summary
gateway-daemonwhen no args are passed__MACOSXand copies the real appProblems encountered during setup (and resolutions)
Nix eval failed at the first
home-manager switcherror: syntax error, unexpected invalid tokeninclawdis.nixaround aconcatStringsSepcall.\", \"inside a double-quoted Nix string, which breaks parsing.Nix eval failed with a
srcalias errorThe "src" package has been renamed to "simple-revision-control"from nixpkgs aliases.clawdis-gateway.nixtook a function arg namedsrc, which conflicts with nixpkgs’srcalias handling in overlays.gatewaySrcand update the call site.Fixed-output hash mismatches (gateway + pnpm)
nix/sources/clawdis-source.nixand the pnpm deps hash inclawdis-gateway.nix.Home Manager activation failed when no plugins were enabled
clawdisDirs)/bin/mkdir -pprinted usage and aborted activation.pluginStateDirslist produced a baremkdir -pcall.Gateway config file missing at runtime
home.file, not written during activation.clawdis.jsonin activation so the gateway sees it on startup.Clawdis app bundle extraction failed
Clawdis.appnot found in the zip due to__MACOSXdirectory entries.findgrabbed the resource fork path first.__MACOSXwhen locating the app bundle.App zip hash mismatch after bumping to beta5
fetchziphash to the correct value.Bundle metadata still labeled beta4
clawdis-2.0.0-beta4even though app+gateway were beta5.clawdis-batteries.nixname and RFC notes were not bumped.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.