From 94191a6225ed702c88bf37cb38f596074587a14c Mon Sep 17 00:00:00 2001 From: Mark Joshwel Date: Fri, 1 Sep 2023 13:38:17 +0000 Subject: [PATCH] devbox: add poetry env use to init hook --- devbox.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devbox.json b/devbox.json index 581bae2..63a0c48 100644 --- a/devbox.json +++ b/devbox.json @@ -5,7 +5,10 @@ "poetry" ], "shell": { - "init_hook": "poetry shell" + "init_hook": [ + "poetry env use $(which python)", + "poetry shell" + ] }, "nixpkgs": { "commit": "f80ac848e3d6f0c12c52758c0f25c10c97ca3b62"