Add Darwin desktop package to flake

This commit is contained in:
Ivan Malison
2026-07-31 23:37:59 +00:00
committed by Mohamed Boudra
parent b960594d44
commit b151dfb88d
3 changed files with 103 additions and 36 deletions
+13
View File
@@ -21,6 +21,19 @@ Root checkout dev is intentionally split across terminals:
`npm run dev` is only a shorthand for `npm run dev:server`. Keep `127.0.0.1:6767` for the packaged app and production-style `~/.paseo` state.
## Nix desktop package
The flake exposes `packages.<system>.desktop` on Linux and macOS:
```bash
nix build .#desktop
```
Linux produces the `paseo-desktop` launcher and desktop entry. macOS produces
`Applications/Paseo.app` plus the `paseo-desktop` launcher. Both use the nixpkgs
Electron runtime and the checkout's built daemon, client, and renderer rather
than downloading a published desktop release.
### PASEO_HOME
`PASEO_HOME` is the directory that holds runtime state (agents, worktrees, workspace config, sockets, daemon log). Resolution rules: