Fix Home Manager activation and gateway defaults #1
+25
−11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.