Skip to content

Commit 3eb4ce1

Browse files
committed
use CONDA_PKGS_DIRS instead of .condarc overlay
1 parent 63fcb48 commit 3eb4ce1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

create_inst.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ SINGULARITY_BIND="$SINGULARITY_BIND,/tmp"
4040
# By default we want to disable the user condarc as that
4141
# might interfere with the installation
4242
if [[ ! ${CW_ENABLE_CONDARC+defined} ]]; then
43-
echo "" > $PWD/_inst_dir/condarc_override
44-
SINGULARITY_BIND="$SINGULARITY_BIND,$PWD/_inst_dir/condarc_override:$(readlink -f $HOME/.condarc)"
43+
export CONDA_PKGS_DIRS=$CW_INSTALLATION_PATH/miniforge/pkgs
4544
fi
4645
export SINGULARITY_BIND
4746
echo "export install_root=$CW_INSTALLATION_PATH" >> _extra_envs.sh

0 commit comments

Comments
 (0)