Unpin python from 3.8 to whatever nixpkgs defaults to

This commit is contained in:
Tim Van Baak 2024-06-28 04:11:03 +00:00
parent 8828a4abef
commit 926a67a05e
2 changed files with 4 additions and 4 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 ];
};
};

View File

@ -1,6 +1,6 @@
[project]
name = "intake"
version = "1.0.6"
version = "1.1.0"
[project.scripts]
intake = "intake.cli:main"