diff --git a/devshells/python.nix b/devshells/python.nix new file mode 100644 index 0000000..0caed6c --- /dev/null +++ b/devshells/python.nix @@ -0,0 +1,21 @@ +{ + withSystem, + inputs, + ... +}: { + perSystem = { + config, + pkgs, + ... + }: { + devShells.python = pkgs.mkShell { + buildInputs = with pkgs; [ + (python3.withPackages (ps: + with ps; [ + pip + virtualenv + ])) + ]; + }; + }; +} diff --git a/flake.nix b/flake.nix index 52f3e5b..5e0ac88 100644 --- a/flake.nix +++ b/flake.nix @@ -40,6 +40,7 @@ ./devshells/raku.nix ./devshells/markdown.nix ./devshells/typst.nix + ./devshells/python.nix ]; config = { systems = [