conda: invoke bash login shell to source /etc/profile
The `profile` parameter in `buildFHSUserEnv` is used to create an /etc/profile file which should be sourced by bash. However, the default runScript is a non-login bash which does not source /etc/profile. Therefore the conda package breaks, as a script which is required for `conda activate`, is not sourced. Also the installationPath parameter is ignored as it is setup in the /etc/profile file.
This commit is contained in:
parent
2a40707bc7
commit
3747daf342
|
@ -66,6 +66,8 @@ in
|
||||||
source ${installationPath}/etc/profile.d/conda.sh
|
source ${installationPath}/etc/profile.d/conda.sh
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
runScript = "bash -l";
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Conda is a package manager for Python";
|
description = "Conda is a package manager for Python";
|
||||||
homepage = "https://conda.io/";
|
homepage = "https://conda.io/";
|
||||||
|
|
Loading…
Reference in a new issue