material-kwin-decorations: disable -Werror

The code is incompatible with latest kde-frameworks
This commit is contained in:
Ulrik Strid 2022-12-14 11:30:01 +01:00
parent 79c0056777
commit 85ef2ebb5c

View File

@ -26,6 +26,12 @@ mkDerivation rec {
sha256 = "sha256-n+yUmBUrkS+06qLnzl2P6CTQZZbDtJLy+2mDPCcQz9M=";
};
# Remove -Werror since it uses deprecated methods
postPatch = ''
substituteInPlace ./CMakeLists.txt \
--replace "add_definitions (-Wall -Werror)" "add_definitions (-Wall)"
'';
nativeBuildInputs = [ cmake extra-cmake-modules ];
buildInputs = [