Skip to content

Commit

Permalink
Auto install python deps
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfelton committed Apr 18, 2024
1 parent f710ee6 commit 2d65c11
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@
scripts.schwifty-src.exec = "$DEVENV_ROOT/.venv/bin/python $DEVENV_ROOT/schwifty-cli/__main__.py $@";

# https://devenv.sh/languages/
languages.python.enable = true;
languages.python.venv.enable = true;
languages.python = {
enable = true;
venv.enable = true;
venv.requirements = ./requirements.txt;
};

# https://devenv.sh/integrations/codespaces-devcontainer/
devcontainer.enable = true;
Expand Down

0 comments on commit 2d65c11

Please sign in to comment.