feat(nix): add FHS devShell for running Electron on NixOS (#1245)

This commit is contained in:
Liet Blue
2026-03-10 19:32:19 +08:00
committed by GitHub
parent 9c88f83e2b
commit 2b9f5092d8
2 changed files with 60 additions and 1 deletions
+9
View File
@@ -255,6 +255,15 @@ A Nix package for Tamagotchi is included. To run airi with Nix, first make sure
nix run github:moeru-ai/airi
```
#### NixOS
Electron requires shared libraries that aren't in standard paths on NixOS. Use the FHS shell defined in `flake.nix`:
```shell
nix develop .#fhs
pnpm dev:tamagotchi
```
### Stage Pocket (Mobile Version)
Start the development server for the capacitor: