Unverified Commit b76a15fe authored by K900's avatar K900 Committed by GitHub
Browse files

kdePackages.kwayland-integration: fix build, use in Plasma 6 (#435663)

parents 70f4bbe2 09515897
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+39 −4
Original line number Diff line number Diff line
{ 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;
}