Use the latest Python (3.10)
This commit is contained in:
parent
b8c905a756
commit
f86db8753e
|
@ -31,7 +31,7 @@
|
||||||
devShells.${system} = {
|
devShells.${system} = {
|
||||||
default = let
|
default = let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
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 {
|
in pkgs.mkShell {
|
||||||
packages = [
|
packages = [
|
||||||
pythonEnv
|
pythonEnv
|
||||||
|
@ -46,11 +46,11 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
intake = final.python38Packages.buildPythonPackage {
|
intake = final.python3Packages.buildPythonPackage {
|
||||||
name = "intake";
|
name = "intake";
|
||||||
src = builtins.path { path = ./.; name = "intake"; };
|
src = builtins.path { path = ./.; name = "intake"; };
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
propagatedBuildInputs = with final.python38Packages; [ flask setuptools ];
|
propagatedBuildInputs = with final.python3Packages; [ flask setuptools ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue