nixos/qt5: use correct qtstyleplugins attribute

(cherry picked from commit 61cd421c75)
This commit is contained in:
IDF31
2019-11-21 16:32:45 +02:00
committed by worldofpeace
parent 9ed32341c7
commit bef194f53b

View File

@@ -10,7 +10,7 @@ let
isQtStyle = cfg.platformTheme == "gtk2" && cfg.style != "adwaita";
packages = if isQGnome then [ pkgs.qgnomeplatform pkgs.adwaita-qt ]
else if isQtStyle then [ pkgs.qtstyleplugins ]
else if isQtStyle then [ pkgs.libsForQt5.qtstyleplugins ]
else throw "`qt5.platformTheme` ${cfg.platformTheme} and `qt5.style` ${cfg.style} are not compatible.";
in