diff --git a/nixos/modules/services/desktop-managers/plasma6.nix b/nixos/modules/services/desktop-managers/plasma6.nix index 12bdb2a6db69..529734bd503f 100644 --- a/nixos/modules/services/desktop-managers/plasma6.nix +++ b/nixos/modules/services/desktop-managers/plasma6.nix @@ -183,7 +183,7 @@ in ++ lib.optionals config.services.desktopManager.plasma6.enableQt5Integration [ breeze.qt5 plasma-integration.qt5 - pkgs.plasma5Packages.kwayland-integration + kwayland-integration ( # Only symlink the KIO plugins, so we don't accidentally pull any services # like KCMs or kcookiejar diff --git a/pkgs/kde/plasma/kwayland-integration/default.nix b/pkgs/kde/plasma/kwayland-integration/default.nix index 8de6d3fae8be..1f4790f09a29 100644 --- a/pkgs/kde/plasma/kwayland-integration/default.nix +++ b/pkgs/kde/plasma/kwayland-integration/default.nix @@ -1,6 +1,41 @@ -{ mkKdeDerivation }: -mkKdeDerivation { +{ + stdenv, + sources, + + cmake, + pkg-config, + libsForQt5, + wayland-scanner, + + plasma-wayland-protocols, + wayland, + wayland-protocols, +}: +# not mkKdeDerivation because this is Qt5 land +stdenv.mkDerivation rec { pname = "kwayland-integration"; - # FIXME(qt5) - meta.broken = true; + inherit (sources.${pname}) version; + + src = sources.${pname}; + + nativeBuildInputs = [ + cmake + pkg-config + libsForQt5.extra-cmake-modules + ]; + + buildInputs = [ + libsForQt5.qtbase + libsForQt5.qtwayland + + libsForQt5.kwayland + libsForQt5.kwindowsystem + + plasma-wayland-protocols + wayland + wayland-protocols + wayland-scanner + ]; + + dontWrapQtApps = true; }