feat: add flake.nix (#1843)
Some checks are pending
tinymist::ci / E2E Tests (darwin-arm64 on macos-latest) (push) Blocked by required conditions
tinymist::ci / build-vscode-others (push) Blocked by required conditions
tinymist::ci / publish-vscode (push) Blocked by required conditions
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / E2E Tests (linux-x64 on ubuntu-22.04) (push) Blocked by required conditions
tinymist::ci / E2E Tests (linux-x64 on ubuntu-latest) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-2019) (push) Blocked by required conditions
tinymist::ci / E2E Tests (win32-x64 on windows-latest) (push) Blocked by required conditions
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / build-binary (push) Blocked by required conditions
tinymist::ci / build-vsc-assets (push) Blocked by required conditions
tinymist::ci / build-vscode (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run

* dev: add flake.nix

* feat: init dev, unstable, and nixvim config

* docs: update description

* dev: split neovim with nixvim

* feat: init tinymist server

* x

* g

* g
This commit is contained in:
Myriad-Dreamin 2025-06-24 14:24:25 +08:00 committed by GitHub
parent d76cd90ef5
commit 878d8aaf08
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 671 additions and 0 deletions

28
docs/tinymist/nix.typ Normal file
View file

@ -0,0 +1,28 @@
= System Configuration
Add following content to the end of your `~/.config/nix/nix.conf` file to enable flakes and nix-command experimental-features:
```conf
experimental-features = nix-command flakes
```
To debug bundle size:
```
nix-shell -p nix-tree.out --run nix-tree
```
= Running devShell
Run with built binaries from source:
```
nix develop
```
Run with the binaries from the nixpkgs unstable:
```
nix develop .#unstable
```