mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 15:11:35 +00:00
kwin: fixup build by upstream patch
This commit is contained in:
parent
1eaf05fbaf
commit
55ac5df242
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
mkDerivation, lib,
|
||||
mkDerivation, lib, fetchpatch,
|
||||
extra-cmake-modules, kdoctools,
|
||||
|
||||
epoxy,libICE, libSM, libinput, libxkbcommon, udev, wayland, xcb-util-cursor,
|
||||
|
@ -37,6 +37,11 @@ mkDerivation {
|
|||
patches = [
|
||||
./0001-follow-symlinks.patch
|
||||
./0002-xwayland.patch
|
||||
(fetchpatch { # included in >= 5.18.6
|
||||
name = "EGL_TEXTURE_Y_XUXV_WL.diff";
|
||||
url = "https://github.com/KDE/kwin/commit/2c76cc478.diff";
|
||||
sha256 = "1ywaky05h5j1x758q3yhp3ap45ispffghyxynqz5lybl5n6yyxhy";
|
||||
})
|
||||
];
|
||||
CXXFLAGS = [
|
||||
''-DNIXPKGS_XWAYLAND=\"${lib.getBin xwayland}/bin/Xwayland\"''
|
||||
|
|
Loading…
Reference in a new issue