Python devshell
This commit is contained in:
parent
0cc727adaa
commit
18a8556187
2 changed files with 22 additions and 0 deletions
21
devshells/python.nix
Normal file
21
devshells/python.nix
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
{
|
||||||
|
withSystem,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
perSystem = {
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
devShells.python = pkgs.mkShell {
|
||||||
|
buildInputs = with pkgs; [
|
||||||
|
(python3.withPackages (ps:
|
||||||
|
with ps; [
|
||||||
|
pip
|
||||||
|
virtualenv
|
||||||
|
]))
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
|
@ -40,6 +40,7 @@
|
||||||
./devshells/raku.nix
|
./devshells/raku.nix
|
||||||
./devshells/markdown.nix
|
./devshells/markdown.nix
|
||||||
./devshells/typst.nix
|
./devshells/typst.nix
|
||||||
|
./devshells/python.nix
|
||||||
];
|
];
|
||||||
config = {
|
config = {
|
||||||
systems = [
|
systems = [
|
||||||
|
|
Loading…
Add table
Reference in a new issue