improve shell.nix

do not let poetry manage venvs
no need to override python3
This commit is contained in:
Lukáš Kucharczyk 2024-08-08 14:48:58 +02:00
parent e33f23c18f
commit 245b47b8b3
Signed by: lukas
SSH Key Fingerprint: SHA256:vMuSwvwAvcT6htVAioMP7rzzwMQNi3roESyhv+nAxeg
1 changed files with 4 additions and 1 deletions

View File

@ -5,10 +5,13 @@
pkgs.mkShell { pkgs.mkShell {
buildInputs = with pkgs; [ buildInputs = with pkgs; [
nodejs nodejs
(poetry.override { python3 = python312; }) python3
poetry
]; ];
shellHook = '' shellHook = ''
python -m venv .venv
. .venv/bin/activate
poetry install poetry install
''; '';
} }