Reduce packages needed in venv template
This commit is contained in:
parent
fd52ad19dd
commit
8eaa5a7839
|
@ -1,14 +1,6 @@
|
|||
{ pkgs ? import <nixpkgs> { }, python ? pkgs.python39, ... }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs; [
|
||||
(python.withPackages (ps: with ps; [ pip wheel ]))
|
||||
poetry
|
||||
black
|
||||
isort
|
||||
ruff
|
||||
git
|
||||
];
|
||||
|
||||
nativeBuildInputs = with pkgs; [ (python.withPackages (ps: with ps; [ pip wheel ])) poetry git ];
|
||||
shellHook = ''
|
||||
[ -d .venv ] || python -m venv .venv
|
||||
source .venv/bin/activate
|
||||
|
|
Loading…
Reference in a new issue