3
0
Fork 0
forked from mirrors/nixpkgs

tumpa: wrapQtAppsHook (#146437)

- fix `qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""`
  with wrapQtAppsHook
This commit is contained in:
0x4A6F 2021-12-07 12:38:29 +01:00 committed by GitHub
parent 0660448110
commit 08586ff592
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 1 deletions

View file

@ -5,6 +5,7 @@
, pyside2
, johnnycanencrypt
, pythonOlder
, wrapQtAppsHook
}:
buildPythonPackage rec {
@ -25,6 +26,15 @@ buildPythonPackage rec {
pyside2
];
nativeBuildInputs = [
wrapQtAppsHook
];
dontWrapQtApps = true;
preFixup = ''
makeWrapperArgs+=("''${qtWrapperArgs[@]}")
'';
doCheck = false;
meta = with lib; {

View file

@ -9574,7 +9574,9 @@ in {
tubeup = callPackage ../development/python-modules/tubeup { };
tumpa = callPackage ../development/python-modules/tumpa { };
tumpa = callPackage ../development/python-modules/tumpa {
inherit (pkgs.libsForQt5) wrapQtAppsHook;
};
tuya-iot-py-sdk = callPackage ../development/python-modules/tuya-iot-py-sdk { };