fix nix global use fail

This commit is contained in:
RingOfStorms (Joshua Bell) 2025-10-27 18:01:31 -05:00
parent 8203fae543
commit 197da90492

View file

@ -23,7 +23,7 @@ return {
cmd = "Copilot", cmd = "Copilot",
event = "InsertEnter", event = "InsertEnter",
opts = { opts = {
copilot_node_command = NIX.nodejs_24_path and (NIX.nodejs_24_path .. "/bin/node") or "node", copilot_node_command = (NIX and NIX.nodejs_24_path and (NIX.nodejs_24_path .. "/bin/node")) or "node",
}, },
main = "copilot", main = "copilot",
}, },