Damn python

This commit is contained in:
Erwin Boskma 2024-10-21 23:26:21 +02:00
parent 880de276da
commit f40363797f
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -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;
}