mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 20:39:04 +02:00
qtstyleplugin-kvantum: add suffix to Qt 6 variant
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
parent
20d9d989fd
commit
cd135d4231
|
@ -14,9 +14,11 @@
|
|||
, wrapQtAppsHook
|
||||
, gitUpdater
|
||||
}:
|
||||
|
||||
let
|
||||
isQt6 = lib.versionAtLeast qtbase.version "6";
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "qtstyleplugin-kvantum";
|
||||
pname = "qtstyleplugin-kvantum${lib.optionalString isQt6 "6"}";
|
||||
version = "1.0.10";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
|
@ -37,8 +39,8 @@ stdenv.mkDerivation rec {
|
|||
qtsvg
|
||||
libX11
|
||||
libXext
|
||||
] ++ lib.optionals (lib.versionOlder qtbase.version "6") [ qtx11extras kwindowsystem ]
|
||||
++ lib.optional (lib.versionAtLeast qtbase.version "6") qtwayland;
|
||||
] ++ lib.optionals (!isQt6) [ qtx11extras kwindowsystem ]
|
||||
++ lib.optional isQt6 qtwayland;
|
||||
|
||||
sourceRoot = "source/Kvantum";
|
||||
|
||||
|
|
Loading…
Reference in a new issue