diff --git a/pkgs/applications/misc/electrum/default.nix b/pkgs/applications/misc/electrum/default.nix index 33233d472357..0197aa8e1c30 100644 --- a/pkgs/applications/misc/electrum/default.nix +++ b/pkgs/applications/misc/electrum/default.nix @@ -73,6 +73,9 @@ python3.pkgs.buildPythonApplication rec { lib.optionals enableQt [ pyqt6 ]; + disabledTestPaths = lib.optionals (!enableQt) [ + "tests/test_qml_types.py" + ]; postPatch = if enableQt then