Skip to content

Commit 784c97f

Browse files
committed
use raw micromamba package from package cache
1 parent b39b843 commit 784c97f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎scripts/build.sh‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ ls -al $TEMP_DIR
3535

3636
if [[ $TARGET_PLATFORM != win-* ]]; then
3737
CONDA_SUBDIR=$TARGET_PLATFORM conda create -n micromamba micromamba=0.8.2 -c conda-forge --yes
38-
EXTRA_CONSTRUCTOR_ARGS="$EXTRA_CONSTRUCTOR_ARGS --conda-exe $CONDA_PREFIX/envs/micromamba/bin/micromamba --platform $TARGET_PLATFORM"
38+
MICROMAMBA_FILE=$(find $CONDA_PREFIX/pkgs -iname micromamba)
39+
EXTRA_CONSTRUCTOR_ARGS="$EXTRA_CONSTRUCTOR_ARGS --conda-exe $MICROMAMBA_FILE --platform $TARGET_PLATFORM"
3940
fi
4041

4142
echo "***** Construct the installer *****"

0 commit comments

Comments
 (0)