Add a flake.nix for Nix packaging; document nix install paths in README

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
randogoth 2026-09-10 17:04:47 +03:00
parent 16f5d7351f
commit 47606a64b7
3 changed files with 94 additions and 0 deletions

View file

@ -11,6 +11,20 @@ cargo build --release
# target/release/calcalist
```
With Nix flakes enabled:
```sh
nix build # ./result/bin/calcalist
# or: nix run . -- doctor
# or: nix profile install .
```
Or straight from the repo, without cloning it first:
```sh
nix profile install "git+https://code.randogoth.com/randogoth/CalCalist.git"
```
One runtime dependency is needed for CalDAV and iCal sync: **`pimsync` 0.5.x on `PATH`**.
Then check the environment, which is worth doing before writing any config: