1b255790b4
A patch was already included to find the path to Xwayland, but the build was not actually using it because it wasn't a buildInput.
33 lines
1.3 KiB
Nix
33 lines
1.3 KiB
Nix
{
|
|
plasmaPackage, lib, copyPathsToStore,
|
|
ecm, kdoctools,
|
|
breeze-qt5, epoxy, kactivities, kcompletion, kcmutils, kconfig,
|
|
kconfigwidgets, kcoreaddons, kcrash, kdeclarative, kdecoration, kglobalaccel,
|
|
ki18n, kiconthemes, kidletime, kinit, kio, knewstuff, knotifications,
|
|
kpackage, kscreenlocker, kservice, kwayland, kwidgetsaddons, kwindowsystem,
|
|
kxmlgui, libinput, libICE, libSM, plasma-framework, qtdeclarative,
|
|
qtmultimedia, qtscript, qtx11extras, udev, wayland, xcb-util-cursor, xwayland
|
|
}:
|
|
|
|
plasmaPackage {
|
|
name = "kwin";
|
|
nativeBuildInputs = [
|
|
ecm
|
|
kdoctools
|
|
];
|
|
propagatedBuildInputs = [
|
|
breeze-qt5 epoxy kactivities kcmutils kcompletion kconfig kconfigwidgets
|
|
kcoreaddons kcrash kdeclarative kdecoration kglobalaccel ki18n kiconthemes
|
|
kidletime kinit kio knewstuff knotifications kpackage kscreenlocker kservice
|
|
kwayland kwidgetsaddons kwindowsystem kxmlgui libinput libICE libSM
|
|
plasma-framework qtdeclarative qtmultimedia qtscript qtx11extras udev
|
|
wayland xcb-util-cursor xwayland
|
|
];
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
postPatch = ''
|
|
substituteInPlace main_wayland.cpp \
|
|
--subst-var-by xwayland ${lib.getBin xwayland}/bin/Xwayland
|
|
'';
|
|
cmakeFlags = [ "-DCMAKE_SKIP_BUILD_RPATH=OFF" ];
|
|
}
|