-
-
Notifications
You must be signed in to change notification settings - Fork 384
Open
Description
Is there any way to pass library paths dynamically at runtime e.g. via environment variables like LUA_PATH
?
My use-case is that I want to create an isolated development environment with Nix. Nix paths are hashed (/nix/store/rhb22df25vwdq5fr5dba8w873qciqgmg...
) so they can change at any time, making static configs like .luarc.json
ineffective.
Ideally, the server can pick up the current lua executable in the PATH and automatically detect all the libraries (this is how it works with pyright
). Is this currently possible?
thenbe, dsully and nawordar
Metadata
Metadata
Assignees
Labels
No labels