diff --git a/processing/shell.nix b/processing/shell.nix new file mode 100644 index 0000000..7aa02b7 --- /dev/null +++ b/processing/shell.nix @@ -0,0 +1,15 @@ +{ pkgs ? import {} }: +let + pythonWithPkgs = pkgs.python3.withPackages (p: with p; [ + pillow + ]); +in +pkgs.mkShell { + buildInputs = [ + pythonWithPkgs + ]; + + shellHook = '' + PYTHONPATH=${pythonWithPkgs}/${pythonWithPkgs.sitePackages} + ''; +}