From 87805fc244559a52afda8d85a6f5f0207ad2f42c Mon Sep 17 00:00:00 2001 From: derped Date: Sun, 29 Jan 2023 14:31:48 +0100 Subject: [PATCH] Switch python version to python310. --- pkgsets/python3.nix | 5 +++-- services/desktop.nix | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pkgsets/python3.nix b/pkgsets/python3.nix index f6169c0..975eda0 100644 --- a/pkgsets/python3.nix +++ b/pkgsets/python3.nix @@ -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 diff --git a/services/desktop.nix b/services/desktop.nix index 758772d..9c1a530 100644 --- a/services/desktop.nix +++ b/services/desktop.nix @@ -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 ]; }