diff options
Diffstat (limited to 'usecases')
-rw-r--r-- | usecases/desktop/development.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usecases/desktop/development.nix b/usecases/desktop/development.nix index d7ec8f5..a50ddb6 100644 --- a/usecases/desktop/development.nix +++ b/usecases/desktop/development.nix | |||
@@ -4,6 +4,7 @@ inputs: | |||
4 | 4 | ||
5 | let | 5 | let |
6 | inherit (pkgs.unstable) | 6 | inherit (pkgs.unstable) |
7 | clang | ||
7 | clang-tools | 8 | clang-tools |
8 | elixir_ls | 9 | elixir_ls |
9 | rust-analyzer-unwrapped | 10 | rust-analyzer-unwrapped |
@@ -33,11 +34,12 @@ in | |||
33 | ]; | 34 | ]; |
34 | luaConfig = builtins.readFile ../../dotfiles/vim-dev.lua; | 35 | luaConfig = builtins.readFile ../../dotfiles/vim-dev.lua; |
35 | 36 | ||
37 | # TODO: make this a NixOS module | ||
36 | variables = { | 38 | variables = { |
37 | clangd_path = "'${clang-tools}/bin/clangd'"; | 39 | clangd_cmd = "{ '${clang-tools}/bin/clangd', '--resource-dir=${clang}/resource-root' }"; |
38 | elixirls_path = "'${elixir_ls}/bin/elixir-ls'"; | 40 | elixirls_cmd = "{ '${elixir_ls}/bin/elixir-ls' }"; |
39 | pyls_path = "'${python-language-server}/bin/pyls'"; | 41 | pyls_cmd = "{ '${python-language-server}/bin/pyls' }"; |
40 | rust_analyzer_path = "'${rust-analyzer-unwrapped}/bin/rust-analyzer'"; | 42 | rust_analyzer_cmd = "{ '${rust-analyzer-unwrapped}/bin/rust-analyzer' }"; |
41 | }; | 43 | }; |
42 | }; | 44 | }; |
43 | 45 | ||