Merge pull request #278230 from mcmah309/master

fix: Fix conda-shell environment first creation issue
This commit is contained in:
Benjamin Hipple
2024-01-07 09:43:09 -05:00
committed by GitHub
@@ -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";