Nix dev environment

This commit is contained in:
jk
2023-10-24 14:57:15 +02:00
parent 0de72eb009
commit 4dfea49f71
5 changed files with 216 additions and 0 deletions

View File

@@ -39,3 +39,12 @@ Generate production build
```
pnpm tauri build
```
#### Nix
Requirements:
1. [Install Nix](https://zero-to-flakes.com/install)
1. [Setup `direnv`](https://zero-to-flakes.com/direnv)
By `cd` into the root folder of the project you will enter the `nix develop` shell. Run `direnv allow` (only once needed). Then just use run `pnpm` or `bun` (experimental) commands as descirbed above.