Switch python version to python310.

This commit is contained in:
Kevin Baensch 2023-01-29 14:31:48 +01:00
parent 2751ded3ed
commit 87805fc244
Signed by: derped
GPG key ID: C0F1D326C7626543
2 changed files with 4 additions and 3 deletions

View file

@ -6,11 +6,12 @@ let
fn = import ../fn.nix { inherit lib; };
# ocv3 = pkgs.python38Packages.opencv3.override { enableGtk2 = true; enableFfmpeg = true; enableGStreamer = true; };
in {
config.machine.pkgsets.python3.pkgwrap = (pkgs.gitpkgs.python38.withPackages (ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)));
config.machine.pkgsets.python3.pkgs = with pkgs.gitpkgs.python38Packages; [
config.machine.pkgsets.python3.pkgwrap = (pkgs.python310.withPackages (ps: (fn.pkgFilter config.machine.pkgsets.python3.pkgs)));
config.machine.pkgsets.python3.pkgs = with pkgs.python310Packages; [
GitPython
bpython
configparser
pysrt
emoji
epc
flake8

View file

@ -52,5 +52,5 @@ in mkIf (elem "desktop" cfg.services) {
};
};
};
machine.pkgsets.python3.pkgs = with pkgs.gitpkgs.python38Packages; [ py3status pytz tzlocal ];
machine.pkgsets.python3.pkgs = with pkgs.python310Packages; [ py3status pytz tzlocal ];
}