mirror of
https://github.com/the-nix-way/dev-templates
synced 2024-05-07 18:06:26 +02:00
feature: add python venv
This commit is contained in:
parent
1df4dff2e7
commit
4314fb5858
|
@ -243,7 +243,6 @@ A dev template that's fully customizable.
|
|||
|
||||
- [Python] 3.11.4
|
||||
- [pip] 23.0.1
|
||||
- [Virtualenv] 20.19.0
|
||||
|
||||
### [`ruby`](./ruby/)
|
||||
|
||||
|
@ -395,7 +394,6 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
|
|||
[vault]: https://www.vaultproject.io
|
||||
[vcpkg]: https://vcpkg.io/
|
||||
[vcpkg-tool]: https://github.com/microsoft/vcpkg-tool
|
||||
[virtualenv]: https://pypi.org/project/virtualenv
|
||||
[vulnix]: https://github.com/flyingcircusio/vulnix
|
||||
[yarn]: https://yarnpkg.com
|
||||
[vlang]: https://vlang.io/
|
||||
|
|
|
@ -13,8 +13,12 @@
|
|||
{
|
||||
devShells = forEachSupportedSystem ({ pkgs }: {
|
||||
default = pkgs.mkShell {
|
||||
packages = with pkgs; [ python311 virtualenv ] ++
|
||||
(with pkgs.python311Packages; [ pip ]);
|
||||
venvDir = "venv";
|
||||
packages = with pkgs; [ python311 ] ++
|
||||
(with pkgs.python311Packages; [
|
||||
pip
|
||||
venvShellHook
|
||||
]);
|
||||
};
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue