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:
parent
c9b8cced51
commit
26502786af
|
@ -1 +1,2 @@
|
||||||
out/
|
out/
|
||||||
|
venv
|
|
@ -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 = [
|
||||||
|
|
Loading…
Reference in New Issue