home: direnv: lib: don't erase pre-existing venv
All checks were successful
ci/woodpecker/push/check Pipeline was successful
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:
parent
a67a54bda2
commit
98d39717e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue