From bc0113e2c2647419e0adf66e38263f9826b6ae94 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 8 Oct 2020 14:57:08 +0300 Subject: [PATCH] electrum-ltc: Use default qt5.15. The same as used by pyqt5 (#99956). Also: Fix double wrapping. --- pkgs/applications/misc/electrum/ltc.nix | 4 ++-- pkgs/top-level/all-packages.nix | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/misc/electrum/ltc.nix b/pkgs/applications/misc/electrum/ltc.nix index 4bcb66f48b92..2c6fb39fa433 100644 --- a/pkgs/applications/misc/electrum/ltc.nix +++ b/pkgs/applications/misc/electrum/ltc.nix @@ -36,8 +36,8 @@ python3Packages.buildPythonApplication rec { sed -i '/Created: .*/d' gui/qt/icons_rc.py ''; - postFixup = '' - wrapQtApp $out/bin/electrum-ltc + preFixup = '' + makeWrapperArgs+=("''${qtWrapperArgs[@]}") ''; checkPhase = '' diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 54ee56c7b1d6..f66d1ff3db27 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -20314,7 +20314,7 @@ in electrum-dash = callPackage ../applications/misc/electrum/dash.nix { }; - electrum-ltc = libsForQt514.callPackage ../applications/misc/electrum/ltc.nix { }; + electrum-ltc = libsForQt5.callPackage ../applications/misc/electrum/ltc.nix { }; elementary-planner = callPackage ../applications/office/elementary-planner { };