From 245b47b8b3fa9028469b62edaa83296672be514c Mon Sep 17 00:00:00 2001 From: Lukas Kucharczyk Date: Thu, 8 Aug 2024 14:48:58 +0200 Subject: [PATCH] improve shell.nix do not let poetry manage venvs no need to override python3 --- shell.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/shell.nix b/shell.nix index 7423b46..065ef1b 100644 --- a/shell.nix +++ b/shell.nix @@ -5,10 +5,13 @@ pkgs.mkShell { buildInputs = with pkgs; [ nodejs - (poetry.override { python3 = python312; }) + python3 + poetry ]; shellHook = '' + python -m venv .venv + . .venv/bin/activate poetry install ''; }