Skip to content

Commit

Permalink
nixos/qt5: use correct qtstyleplugins attribute
Browse files Browse the repository at this point in the history
(cherry picked from commit 61cd421)
  • Loading branch information
IDF31 authored and worldofpeace committed Nov 21, 2019
1 parent 9ed3234 commit bef194f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nixos/modules/config/qt5.nix
Expand Up @@ -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
Expand Down

0 comments on commit bef194f

Please sign in to comment.