diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..a1ba79d --- /dev/null +++ b/shell.nix @@ -0,0 +1,8 @@ +# https://nixos.wiki/wiki/Python#Development_shell +{ pkgs ? import {} }: +let + my-python-packages = ps: with ps; [ + psutil + ]; + my-python = pkgs.python3.withPackages my-python-packages; +in my-python.env