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 index 6af2ffb..32166b7 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ +.direnv + # https://github.com/github/gitignore/blob/main/Python.gitignore # Basic .gitignore for a python repo. diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..03ddbbf --- /dev/null +++ b/shell.nix @@ -0,0 +1,12 @@ +{ pkgs ? import { } }: + +pkgs.mkShell { + buildInputs = with pkgs; [ + poetry + python3 + (python310Packages.opencv4.override { + enableGtk2 = true; + gtk2 = pkgs.gtk2; + }) + ]; +}