diff --git a/.envrc b/.envrc new file mode 100644 index 0000000..1d953f4 --- /dev/null +++ b/.envrc @@ -0,0 +1 @@ +use nix diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..8361884 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.direnv/* diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..b174e44 --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +{ pkgs ? import {} }: +let + my-python-packages = ps: with ps; [ + opencv4 + numpy + # other python packages + ]; + my-python = pkgs.python3.withPackages my-python-packages; +in my-python.env