Skip to content

Commit

Permalink
Use RATTLER_CACHE_DIR instead of XDG_CACHE_HOME
Browse files Browse the repository at this point in the history
  • Loading branch information
hadim committed Nov 16, 2024
1 parent ad0d8e0 commit b03dd1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-locally.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def setup_environment(ns):

# The default cache location might not be writable using docker on macOS.
if ns.config.startswith("linux") and platform.system() == "Darwin":
os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = "-e XDG_CACHE_HOME=/tmp/rattler_cache"
os.environ["CONDA_FORGE_DOCKER_RUN_ARGS"] = "-e RATTLER_CACHE_DIR=/tmp/rattler_cache"


def run_docker_build(ns):
Expand Down

0 comments on commit b03dd1b

Please sign in to comment.