home: direnv: lib: don't erase pre-existing venv
All checks were successful
ci/woodpecker/push/check Pipeline was successful

Turns out `uv venv` isn't idempotent, it removes the existing virtual
environment by default.

Thankfully, there's a flag to fix it.
This commit is contained in:
Bruno BELANYI 2025-05-31 22:37:21 +01:00
parent a67a54bda2
commit 98d39717e2

View file

@ -46,7 +46,7 @@ layout_uv() {
fi
# create venv if it doesn't exist
uv venv -q
uv venv -q --allow-existing
export VIRTUAL_ENV
export UV_ACTIVE=1