Fork me on GitHub
#juxt
<
2019-10-02
>
andrea.crotti15:10:32

I'm trying to migrate a project to aero, that's currently using just lein-environ

andrea.crotti15:10:11

if I just change all the calls to (environ/env :something) to use a config value like #env SOMETHING it doesn't work, because the env variables are defined in project.clj

andrea.crotti15:10:29

so they are not actually returned by System/getenv, which is used by aero internally

andrea.crotti15:10:16

I can still of course get it done, but to make the migration more seamless, it would be great if I could pass a different env function

andrea.crotti15:10:59

Ideally something like that it's only temporary anyway, but maybe it could be useful for others as well?

nha16:10:43

I don't know about lein-environ but you could alsodefine your own tag, like 'myenv' and use '#myenv' in your config file instead

👍 4
andrea.crotti16:10:50

Ah cool I could try that thanks