improve shell.nix
do not let poetry manage venvs no need to override python3
This commit is contained in:
parent
e33f23c18f
commit
245b47b8b3
|
@ -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
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue