Unpin python from 3.8 to whatever nixpkgs defaults to
This commit is contained in:
parent
8828a4abef
commit
926a67a05e
|
@ -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 ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[project]
|
[project]
|
||||||
name = "intake"
|
name = "intake"
|
||||||
version = "1.0.6"
|
version = "1.1.0"
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
intake = "intake.cli:main"
|
intake = "intake.cli:main"
|
||||||
|
|
Loading…
Reference in New Issue