Add variable to ensure a writable Conda base environment
This MR adds support for a NEED_WRITABLE_BASE
variable (default "false"
) which (when "true"
) ensures that the base
environment is writable by installing a fresh copy of mambaforge as required. This is needed for .conda:build
on macOS, for example.