Skip to content

Commit

Permalink
feature: add python venv
Browse files Browse the repository at this point in the history
  • Loading branch information
sstubbs committed Apr 15, 2024
1 parent cb94157 commit 26a604c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion python/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@
{
devShells = forEachSupportedSystem ({ pkgs }: {
default = pkgs.mkShell {
venvDir = "venv";
packages = with pkgs; [ python311 virtualenv ] ++
(with pkgs.python311Packages; [ pip ]);
(with pkgs.python311Packages; [
pip
venvShellHook
]);
};
});
};
Expand Down

0 comments on commit 26a604c

Please sign in to comment.