From fa709cad5579fc379aa4bbf09c2bc32a47f67251 Mon Sep 17 00:00:00 2001 From: Alexis Williams Date: Thu, 26 Feb 2026 18:49:35 -0800 Subject: [PATCH] docs: add NixOS flake notes to CLAUDE.md Co-Authored-By: Claude --- CLAUDE.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index a8a1d25..36d5539 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -303,6 +303,7 @@ gh run download RUN_ID -n artifact-name - `claude-desktop-VERSION-amd64.AppImage` - AppImage for x86_64 - `claude-desktop-VERSION-arm64.deb` - Debian package for ARM64 - `claude-desktop-VERSION-arm64.AppImage` - AppImage for ARM64 +- `result/` - Nix build output (symlink, gitignored) ## Testing @@ -312,6 +313,13 @@ gh run download RUN_ID -n artifact-name ./build.sh --build appimage --clean no ``` +### Nix Build + +```bash +nix build .#claude-desktop +nix build .#claude-desktop-fhs +``` + ### Testing AppImage ```bash @@ -373,6 +381,7 @@ gdbus call --session --dest=org.freedesktop.DBus \ ``` - **SingletonLock** - If app won't start, check for stale lock: `~/.config/Claude/SingletonLock` - **Node version** - Build requires Node.js; the script downloads its own if needed +- **Nix hashes** - When Claude Desktop version changes, both `build.sh` URLs and `nix/claude-desktop.nix` (version, URLs, SRI hashes) must be updated. The CI handles this automatically. - **Claude Desktop version** - A GitHub Action automatically updates the `CLAUDE_DESKTOP_VERSION` repo variable and the URLs in `build.sh` on main when a new version is detected. Before committing `build.sh`, ensure your branch has the latest URLs: ```bash # Check repo variable (source of truth)