Commit 46bf715
committed
feat(devenv): allow disabling devenv locally with .envrc.user
Current devenv config has problems on at least Ubuntu 22.04.
.envrc.user with the below content enables work without devenv:
layout_poetry() {
# create venv if it doesn't exist
poetry run true
export VIRTUAL_ENV=$(poetry env info --path)
export POETRY_ACTIVE=1
PATH_add "$VIRTUAL_ENV/bin"
}
layout_poetry
export SKIP=nixpkgs-fmt
export UNBLOB_USE_DEVENV=false1 parent 569e0db commit 46bf715
1 file changed
+10
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
0 commit comments