Merge pull request #73868 from IDF31/submit/FixedQt5ThemingOption

nixos/qt5: use correct qtstyleplugins attribute
This commit is contained in:
worldofpeace 2019-11-21 15:11:54 +00:00 committed by GitHub
commit e3a720a99e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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