This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Env vars exported from shell scripts fail to render in subsequent templates #3774
Labels
You can continue the conversation there. Go to discussion →
Describe the bug
Env vars exported from a shell script and loaded via
_.source
fail to render in subsequent env var templates. This behavior is inconsistent with how variables defined directly in the[env]
section work.This issue does not occur when the variable is defined directly in the
[env]
section.This is a followup for #3755
To Reproduce
.mise/env.sh
with the following content:mise
commandExpected behavior
The env var
{{ env.__GENERATE_TOOLS_DIR }}
should resolve to the value set in the shell script (foo
), and_.path
should render correctly.mise doctor
outputThe text was updated successfully, but these errors were encountered: