source conda.sh from conda base environment rather than the chipyard conda env (which does not have conda in lean lockfile)

This commit is contained in:
Vighnesh Iyer
2024-01-22 23:40:18 -08:00
parent d70bd55a16
commit 4aaffd53ae

View File

@@ -181,6 +181,7 @@ if run_step "1"; then
# use conda-lock to create env
conda-lock install --conda $(which conda) -p $CYDIR/.conda-env $LOCKFILE &&
source $(conda info --base)/etc/profile.d/conda.sh &&
conda activate $CYDIR/.conda-env
exit_if_last_command_failed