1
0
Fork 0

Expose python env as a package

This allows building the env into the local workspace, making it easier to configure VS Code to point to it
This commit is contained in:
Tim Van Baak 2023-09-19 12:28:15 -07:00
parent c9b8cced51
commit 26502786af
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
out/ out/
venv

View File

@ -17,8 +17,13 @@
pyenv = pkgs.python3.withPackages (pypkgs: [ pyenv = pkgs.python3.withPackages (pypkgs: [
pypkgs.markdown pypkgs.markdown
pypkgs.beautifulsoup4 pypkgs.beautifulsoup4
pypkgs.feedgen
]); ]);
in { in {
packages.${system} = {
inherit pyenv;
};
devShells.${system} = { devShells.${system} = {
default = pkgs.mkShell { default = pkgs.mkShell {
packages = [ packages = [