Use the latest Python (3.10)

This commit is contained in:
Tim Van Baak 2023-07-26 18:37:46 -07:00
parent b8c905a756
commit f86db8753e
1 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
devShells.${system} = {
default = let
pkgs = nixpkgs.legacyPackages.${system};
pythonEnv = pkgs.python38.withPackages (pypkgs: with pypkgs; [ flask black pytest ]);
pythonEnv = pkgs.python3.withPackages (pypkgs: with pypkgs; [ flask black pytest ]);
in pkgs.mkShell {
packages = [
pythonEnv
@ -46,11 +46,11 @@
};
overlays.default = final: prev: {
intake = final.python38Packages.buildPythonPackage {
intake = final.python3Packages.buildPythonPackage {
name = "intake";
src = builtins.path { path = ./.; name = "intake"; };
format = "pyproject";
propagatedBuildInputs = with final.python38Packages; [ flask setuptools ];
propagatedBuildInputs = with final.python3Packages; [ flask setuptools ];
};
};