We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents db41761 + 287d490 commit bb9a3fdCopy full SHA for bb9a3fd
src/modules/languages/python.nix
@@ -443,6 +443,8 @@ in
443
env = (lib.optionalAttrs cfg.uv.enable {
444
# ummmmm how does this work? Can I even know the path to the devenv/state at this point?
445
UV_PROJECT_ENVIRONMENT = "${config.env.DEVENV_STATE}/venv";
446
+ # Force uv not to download a Python binary when the version in pyproject.toml does not match the one installed by devenv
447
+ UV_PYTHON_DOWNLOADS = "never";
448
}) // (lib.optionalAttrs cfg.poetry.enable {
449
# Make poetry use DEVENV_ROOT/.venv
450
POETRY_VIRTUALENVS_IN_PROJECT = "true";
0 commit comments