From b64a6c9df9b4862fc05c7de88a97139e0cc24c26 Mon Sep 17 00:00:00 2001 From: Benoit Bovy Date: Fri, 16 Dec 2022 14:10:19 +0100 Subject: [PATCH] CONDA_REFIX seems not defined on RTD https://github.com/readthedocs/readthedocs.org/issues/4067 --- .readthedocs.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d57380d..39c47e6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -13,7 +13,10 @@ build: -DCMAKE_BUILD_TYPE=Release \ -DS2GEOGRAPHY_S2_SOURCE=CONDA - cmake --build s2geography/build - - cmake --install s2geography/build --prefix $CONDA_PREFIX + - | + cmake \ + --install s2geography/build \ + --prefix /home/docs/checkouts/readthedocs.org/user_builds/spherely/conda/$READTHEDOCS_VERSION/ conda: environment: docs/environment.yml