renderdoc: fallback to python312 if shiboken2 is not available
shiboken2 is marked broken on python313, and python3 will default to python313 in the next staging-next merge
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
pcre,
|
||||
pkg-config,
|
||||
python3Packages,
|
||||
python312Packages,
|
||||
qt5,
|
||||
stdenv,
|
||||
vulkan-loader,
|
||||
@@ -23,6 +24,9 @@
|
||||
}:
|
||||
|
||||
let
|
||||
pythonPackages' =
|
||||
# lib.meta.availableOn does not respect meta.broken?
|
||||
if python3Packages.shiboken2.meta.available then python3Packages else python312Packages;
|
||||
custom_swig = fetchFromGitHub {
|
||||
owner = "baldurk";
|
||||
repo = "swig";
|
||||
@@ -51,9 +55,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
[
|
||||
libXdmcp
|
||||
libpthreadstubs
|
||||
python3Packages.pyside2
|
||||
python3Packages.pyside2-tools
|
||||
python3Packages.shiboken2
|
||||
pythonPackages'.pyside2
|
||||
pythonPackages'.pyside2-tools
|
||||
pythonPackages'.shiboken2
|
||||
qt5.qtbase
|
||||
qt5.qtsvg
|
||||
vulkan-loader
|
||||
@@ -71,7 +75,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
makeWrapper
|
||||
pcre
|
||||
pkg-config
|
||||
python3Packages.python
|
||||
pythonPackages'.python
|
||||
qt5.qtx11extras
|
||||
qt5.wrapQtAppsHook
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user