mirror of
https://github.com/the-nix-way/dev-templates
synced 2024-05-21 15:26:16 +02:00
feature: add python venv
This commit is contained in:
parent
cb94157e1a
commit
b89f77d481
|
@ -221,7 +221,6 @@ The sections below list what each template includes. In all cases, you're free t
|
||||||
|
|
||||||
- [Python] 3.11.4
|
- [Python] 3.11.4
|
||||||
- [pip] 23.0.1
|
- [pip] 23.0.1
|
||||||
- [Virtualenv] 20.19.0
|
|
||||||
|
|
||||||
### [`ruby`](./ruby/)
|
### [`ruby`](./ruby/)
|
||||||
|
|
||||||
|
@ -355,7 +354,6 @@ All of the templates have only the root [flake](./flake.nix) as a flake input. T
|
||||||
[texlive]: https://www.tug.org/texlive/
|
[texlive]: https://www.tug.org/texlive/
|
||||||
[tflint]: https://github.com/terraform-linters/tflint
|
[tflint]: https://github.com/terraform-linters/tflint
|
||||||
[vault]: https://www.vaultproject.io
|
[vault]: https://www.vaultproject.io
|
||||||
[virtualenv]: https://pypi.org/project/virtualenv
|
|
||||||
[vulnix]: https://github.com/flyingcircusio/vulnix
|
[vulnix]: https://github.com/flyingcircusio/vulnix
|
||||||
[yarn]: https://yarnpkg.com
|
[yarn]: https://yarnpkg.com
|
||||||
[zig]: https://ziglang.org
|
[zig]: https://ziglang.org
|
||||||
|
|
|
@ -13,8 +13,12 @@
|
||||||
{
|
{
|
||||||
devShells = forEachSupportedSystem ({ pkgs }: {
|
devShells = forEachSupportedSystem ({ pkgs }: {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
packages = with pkgs; [ python311 virtualenv ] ++
|
venvDir = "venv";
|
||||||
(with pkgs.python311Packages; [ pip ]);
|
packages = with pkgs; [ python311 ] ++
|
||||||
|
(with pkgs.python311Packages; [
|
||||||
|
pip
|
||||||
|
venvShellHook
|
||||||
|
]);
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue