forked from Myriad-Dreamin/tinymist
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathflake.nix
More file actions
32 lines (29 loc) · 1.06 KB
/
Copy pathflake.nix
File metadata and controls
32 lines (29 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Docs: ./docs/tinymist/nix.typ
{
description = "Collecting nix configurations in tinymist repository.";
inputs = {
flake-parts.url = "github:hercules-ci/flake-parts";
tinymist-unstable.url = "path:contrib/nix/unstable";
tinymist-dev.url = "path:contrib/nix/dev";
tinymist-nixvim.url = "path:editors/neovim/samples/nixvim";
};
outputs = inputs@{
flake-parts, tinymist-unstable, tinymist-dev, tinymist-nixvim, self, ... }: flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" ];
perSystem =
{ system, ... }:
{
# apps.default = tinymist-dev.apps.${system}.default;
devShells = {
# nix develop
default = tinymist-dev.devShells.${system}.default;
# nix develop .#neovim
neovim = tinymist-dev.devShells.${system}.neovim;
# nix develop .#unstable
unstable = tinymist-unstable.devShells.${system}.default;
# nix develop .#nixvim
nixvim = tinymist-nixvim.devShells.${system}.default;
};
};
};
}