VIRTUAL_ENV
CONDA_PREFIX
Port of https://github.com/PyO3/maturin/pull/1879 for https://github.com/PyO3/maturin/issues/1878