We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4569c3 commit 8b53ac1Copy full SHA for 8b53ac1
1 file changed
constructor/utils.py
@@ -147,7 +147,8 @@ def add_condarc(info):
147
condarc["channels"] = channels
148
if channel_alias:
149
condarc["channel_alias"] = channel_alias
150
- if mirrored_channels and info.get("_conda_exe_type") == StandaloneExe.MAMBA:
+ # The mirrored_channels key is only supported by mamba
151
+ if mirrored_channels and "mamba" in info.get("specs", []):
152
condarc["mirrored_channels"] = mirrored_channels
153
if isinstance(condarc, dict):
154
condarc = yaml_to_string(condarc)
0 commit comments