mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03:00
material-kwin-decorations: disable -Werror
The code is incompatible with latest kde-frameworks
This commit is contained in:
parent
79c0056777
commit
85ef2ebb5c
@ -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 = [
|
||||
|
Loading…
Reference in New Issue
Block a user