fix(python): respect $ANACONDA_HOME

Amend: 8f60a1bc46
This commit is contained in:
Henrik Lissner 2024-09-02 01:10:58 -04:00
parent 8f60a1bc46
commit d6bc2b0f19
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -263,7 +263,7 @@
;; HACK: `conda-anaconda-home's initialization can throw an error if none of
;; `conda-home-candidates' exist, so unset it early.
;; REVIEW: Fix this upstream.
(setq conda-anaconda-home nil
(setq conda-anaconda-home (getenv "ANACONDA_HOME")
conda-home-candidates
(list "~/.anaconda"
"~/.anaconda3"