How to set environment variables?
Opened this issue · 0 comments
lessless commented
Hi,
My app won't start without specific environment variables, which I think severely affects the autocompletion feature.
For example I can see this in the debug output:
16:12:23.046 [error] Process #PID<0.124.0> raised an exception
** (Mix.Error) Can't continue due to errors on dependencies
(mix 1.14.1) lib/mix.ex:513: Mix.raise/2
(mix 1.14.1) lib/mix/tasks/deps.loadpaths.ex:43: Mix.Tasks.Deps.Loadpaths.run/1
(mix 1.14.1) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.1) lib/mix/tasks/loadpaths.ex:41: Mix.Tasks.Loadpaths.run/1
(mix 1.14.1) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.1) lib/mix/tasks/compile.ex:127: Mix.Tasks.Compile.run/1
(mix 1.14.1) lib/mix/task.ex:421: anonymous fn/3 in Mix.Task.run_task/4
(mix 1.14.1) lib/mix/task.ex:475: Mix.Task.run_alias/6
For the development flow, I put those variables in my script autoload file ( ~/.config/fish/config.fish
). Is there a way to do something similar for ElixirLS in Nova?