diff --git a/overlays/default.nix b/overlays/default.nix index 46f3bc2..7de9b12 100644 --- a/overlays/default.nix +++ b/overlays/default.nix @@ -1,4 +1,4 @@ -_final: prev: { +final: prev: { backscrub = prev.pkgs.callPackage ../pkgs/backscrub { inherit (prev.pkgs) gcc @@ -24,4 +24,34 @@ _final: prev: { enableCuda = false; # peakperf needs cuda-samples, which is not available in current CUDA. CUDA 11 is broken due to CVEs in freeimage }; factorio = prev.factorio.override { versionsJson = ./factorio.json; }; + + python312 = prev.python312.override { + packageOverrides = _pyfinal: pyprev: { + wxpython = pyprev.wxpython.overrideAttrs (_old: { + version = "4.2.2"; + + src = final.fetchPypi { + pname = "wxPython"; + version = "4.2.2"; + hash = "sha256-XbywZQ9n/cLFlleVolX/qj17CfsUmqjaLQ2apE444ro="; + }; + }); + }; + }; + python312Packages = final.python312.pkgs; + + python311 = prev.python311.override { + packageOverrides = _pyfinal: pyprev: { + wxpython = pyprev.wxpython.overrideAttrs (_old: { + version = "4.2.2"; + + src = final.fetchPypi { + pname = "wxPython"; + version = "4.2.2"; + hash = "sha256-XbywZQ9n/cLFlleVolX/qj17CfsUmqjaLQ2apE444ro="; + }; + }); + }; + }; + python311Packages = final.python311.pkgs; }