fix: Fix conda-shell environment first creation issue

This commit is contained in:
mcmah309 2024-01-02 02:27:49 -05:00
parent e2e36d8af3
commit 0a29d8368f

View File

@ -77,7 +77,11 @@ in
export QTCOMPOSE=${xorg.libX11}/share/X11/locale
export LIBARCHIVE=${libarchive.lib}/lib/libarchive.so
# Allows `conda activate` to work properly
source ${installationPath}/etc/profile.d/conda.sh
condaSh=${installationPath}/etc/profile.d/conda.sh
if [ ! -f $condaSh ]; then
conda-install
fi
source $condaSh
'';
runScript = "bash -l";