Skip to content

Commit 63fcb48

Browse files
committed
use empty condarc instead of specific pkgs_dirs to make it work with newer versions of conda
1 parent 919d0b5 commit 63fcb48

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

create_inst.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +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 "pkgs_dirs:
44-
- $CW_INSTALLATION_PATH/miniforge/pkgs
45-
" > $PWD/_inst_dir/condarc_override
43+
echo "" > $PWD/_inst_dir/condarc_override
4644
SINGULARITY_BIND="$SINGULARITY_BIND,$PWD/_inst_dir/condarc_override:$(readlink -f $HOME/.condarc)"
4745
fi
4846
export SINGULARITY_BIND

0 commit comments

Comments
 (0)