Add nix shell
This commit is contained in:
parent
f8463cec6b
commit
568da3c892
15
processing/shell.nix
Normal file
15
processing/shell.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
let
|
||||
pythonWithPkgs = pkgs.python3.withPackages (p: with p; [
|
||||
pillow
|
||||
]);
|
||||
in
|
||||
pkgs.mkShell {
|
||||
buildInputs = [
|
||||
pythonWithPkgs
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
PYTHONPATH=${pythonWithPkgs}/${pythonWithPkgs.sitePackages}
|
||||
'';
|
||||
}
|
Loading…
Reference in New Issue
Block a user