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 e65418c..2282e60 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.egg build venv +.direnv diff --git a/shell.nix b/shell.nix index 95d6dbe..c04505b 100644 --- a/shell.nix +++ b/shell.nix @@ -1,7 +1,9 @@ -with import {}; +with import { }; -( - pkgs.python312.buildEnv.override { - extraLibs = with pkgs.python312Packages; [ docopt beautifulsoup4 rich ]; - } -).env +pkgs.mkShellNoCC { + packages = with pkgs; [ + python312Packages.docopt + python312Packages.beautifulsoup4 + python312Packages.rich + ]; +}