Draft: fix: resolved toolchains variable substitution
Modified the toolchain_info and resolved rules to use the symlinked path, which ensures that the runfiles can be located correctly.
Also re-calculated the TemplateVariableInfo in the resolved rule as it no longer points to the correct location once the new executable symlink is created inside that rule.
Two new e2e build targets have been created to test the variable substitution, using a py_binary to ensure there were runfiles.
Execute those using:
cd e2e
bazelisk build //toolchain/py_echo:hello-echo-direct-toolchain
bazelisk build //toolchain/py_echo:hello-echo
One of those targets uses the toolchain info directly, the other uses the resolved repo rule.
Fixes: #6 (closed)
Edited by Jordan Bonser