diff --git a/.envrc b/.envrc index 1e385a24..642e425d 100644 --- a/.envrc +++ b/.envrc @@ -11,3 +11,7 @@ use flake # Activate the project venv . .venv/bin/activate + +# Tell UV to use the venv python, without this it will use system python on +# NixOS. Which means `uv pip list` will not work. +export UV_PYTHON=.venv/bin/python