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:
ostylk 2021-08-10 12:39:17 +02:00
parent 2a40707bc7
commit 3747daf342
No known key found for this signature in database
GPG key ID: 497BE86FA7D25505

View file

@ -66,6 +66,8 @@ in
source ${installationPath}/etc/profile.d/conda.sh
'';
runScript = "bash -l";
meta = {
description = "Conda is a package manager for Python";
homepage = "https://conda.io/";