jdx / mise

dev tools, env vars, task runner
https://mise.jdx.dev
MIT License
8.03k stars 210 forks source link

feat: Lazily evaluated env template variables in path entries #2310

Open josb opened 1 week ago

josb commented 1 week ago

Implements #1912.

Please note that there's a TODO entry in mise::EnvMapVisitor.visit_map. The issue is that deserialize_with = "deserialize_arr" can either be left off or added topath: Vec<PathEntry>:

I am hoping you can help me address this issue, as I don't understand Serde / Rust well enough yet. This is also the reason why I didn't add any tests for this feature yet.

Thanks!