From d6b4af9d6a39b23d344c3942a3c9d0233eda49cd Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 5 Oct 2023 16:16:53 +0200 Subject: [PATCH] feat: add shell.nix --- shell.nix | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 shell.nix 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