Skip to content

Commit

Permalink
Argh
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-intel committed Sep 26, 2024
1 parent cbdcd65 commit c2e7e6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaflow_extensions/netflix_ext/plugins/conda/conda.py
Original file line number Diff line number Diff line change
Expand Up @@ -2273,7 +2273,7 @@ def _info(self) -> Dict[str, Any]:
def _info_no_lock(self) -> Dict[str, Any]:
if self._cached_info is None:
self._cached_info = json.loads(self.call_conda(["info", "--json"]))
if self._is_non_conda_exec:
if "root_prefix" not in self._cached_info: # Micromamba and Mamba 2+
self._cached_info["root_prefix"] = self._cached_info["base environment"]
self._cached_info["envs_dirs"] = self._cached_info["envs directories"]
self._cached_info["pkgs_dirs"] = self._cached_info["package cache"]
Expand Down

0 comments on commit c2e7e6d

Please sign in to comment.