From d6bc2b0f19e51fa57e57c38f622b8c91fdddf0c0 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Mon, 2 Sep 2024 01:10:58 -0400 Subject: [PATCH] fix(python): respect $ANACONDA_HOME Amend: 8f60a1bc46b3 --- modules/lang/python/config.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/python/config.el b/modules/lang/python/config.el index b307f72bd..3fbc0345c 100644 --- a/modules/lang/python/config.el +++ b/modules/lang/python/config.el @@ -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"