leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
jco 2020-05-28T09:54:35.204700Z

Is there any way to get lein-dotenv to work with Leiningen's trampoline?

2020-05-28T14:57:47.205300Z

you can't portably set environment variables within the jvm, so that makes it effectively impossible

2020-05-28T14:58:18.206Z

someone could make a linux only / osx only extension that allows manipulating the environment, then you could make it work, I guess

2020-05-28T15:00:26.207800Z

you can use the env shell utility to start a process with a specified environment, one trick I use is

$ env $(<env-file) lein ...
where env-file contains something like
FOO=bar
BAZ=quux

👍 1
jco 2020-06-01T06:40:04.209700Z

I wonder how that trick translates to fish shell. It's not process substitution, right?

ccann 2020-05-28T22:13:15.208200Z

does anyone know of a tool/gist to convert a project.clj to a deps.edn file

ccann 2020-05-28T22:17:41.208400Z

emacs macro to the rescue