Fix shell.nix

This commit is contained in:
Jeffrey Serio 2024-09-02 14:37:10 -05:00
parent e28eef627c
commit 191192b9a1
3 changed files with 10 additions and 6 deletions

1
.envrc Normal file
View File

@ -0,0 +1 @@
use nix

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
*.egg *.egg
build build
venv venv
.direnv

View File

@ -1,7 +1,9 @@
with import <nixpkgs> {}; with import <nixpkgs> { };
( pkgs.mkShellNoCC {
pkgs.python312.buildEnv.override { packages = with pkgs; [
extraLibs = with pkgs.python312Packages; [ docopt beautifulsoup4 rich ]; python312Packages.docopt
} python312Packages.beautifulsoup4
).env python312Packages.rich
];
}