fix node 20+ not found in copilot when in directory setting older node version

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-04-14 11:12:50 -05:00
parent db14faa364
commit f1d6c8b69c
2 changed files with 5 additions and 2 deletions

View file

@ -225,6 +225,7 @@
}
({
storePath = "${./.}";
nodejs_20_path = "${pkgs.nodejs_23}";
# This will look at all inputs and grab any prefixed with `nvim_plugin-`
pluginPaths =
builtins.foldl' (dirs: name: { "${name}" = inputs.${name}.outPath; } // dirs) nixPkgsPlugins
@ -273,7 +274,7 @@
# ocamlPackages.ocaml-lsp # ocaml
# Other
typescript
nodejs_20
nodejs_23
clang
# zig
(pkgs.rust-bin.stable.latest.default.override {