I'm trying to migrate a project to aero, that's currently using just lein-environ
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
so they are not actually returned by System/getenv, which is used by aero internally
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
Ideally something like that it's only temporary anyway, but maybe it could be useful for others as well?
I don't know about lein-environ but you could alsodefine your own tag, like 'myenv' and use '#myenv' in your config file instead
Ah cool I could try that thanks