diff --git a/src/Conda.jl b/src/Conda.jl index dc47444..a8f93d5 100644 --- a/src/Conda.jl +++ b/src/Conda.jl @@ -77,7 +77,11 @@ const conda = if Compat.Sys.iswindows() conda_bat = joinpath(p, "conda.bat") isfile(conda_bat) ? conda_bat : joinpath(p, "conda.exe") else - joinpath(bin_dir(ROOTENV), "conda") + if haskey(ENV, "CONDA_EXE") + ENV["CONDA_EXE"] + else + joinpath(bin_dir(ROOTENV), "conda") + end end "Path to the condarc file"