Skip to content

Commit

Permalink
kwin: fixup build with cmake-3.10 via upstream patch
Browse files Browse the repository at this point in the history
  • Loading branch information
vcunat committed Jan 28, 2018
1 parent 800e744 commit ac3b8fe
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions pkgs/desktops/plasma-5/kwin/default.nix
@@ -1,5 +1,5 @@
{
mkDerivation, lib, copyPathsToStore,
mkDerivation, lib, copyPathsToStore, fetchpatch,
extra-cmake-modules, kdoctools,

epoxy,libICE, libSM, libinput, libxkbcommon, udev, wayland, xcb-util-cursor,
Expand Down Expand Up @@ -29,7 +29,14 @@ mkDerivation {
kwayland kwidgetsaddons kwindowsystem kxmlgui plasma-framework
];
outputs = [ "bin" "dev" "out" ];
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series)
++ [(fetchpatch {
name = "cmake-3.10.diff";
# included upstream for kwin >= 5.11.95
url = "https://github.com/KDE/kwin/commit/cd544890ced4192.diff";
sha256 = "0z5nbcg712v10mskb7r9v0jcx5h8q4ixb7fjbb0kicmzsc266yd5";
})]
;
CXXFLAGS = [
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
];
Expand Down

0 comments on commit ac3b8fe

Please sign in to comment.