mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 19:02:57 +00:00
fix: Fix conda-shell environment first creation issue
This commit is contained in:
parent
e2e36d8af3
commit
0a29d8368f
@ -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 New Issue
Block a user