juxt

2019-10-02T15:02:32.000800Z

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

2019-10-02T15:03:11.001700Z

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

2019-10-02T15:03:29.002400Z

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

2019-10-02T15:04:16.003800Z

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

2019-10-02T15:04:59.004900Z

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

2019-10-02T16:19:43.007900Z

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

👍 1
2019-10-02T16:26:50.008600Z

Ah cool I could try that thanks