devbox: add poetry env use to init hook

This commit is contained in:
Mark Joshwel 2023-09-01 13:38:17 +00:00
parent d9c255b089
commit 94191a6225

View file

@ -5,7 +5,10 @@
"poetry" "poetry"
], ],
"shell": { "shell": {
"init_hook": "poetry shell" "init_hook": [
"poetry env use $(which python)",
"poetry shell"
]
}, },
"nixpkgs": { "nixpkgs": {
"commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62" "commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"