mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Merge pull request #278230 from mcmah309/master
fix: Fix conda-shell environment first creation issue
This commit is contained in:
commit
8f5b6bf391
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue