Merge pull request #200194 from trofi/fwbuilder-disable-Werror
fwbuilder: disable blanket `-Werror`
This commit is contained in:
commit
6b572437c0
|
@ -20,6 +20,13 @@ stdenv.mkDerivation rec {
|
||||||
hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ=";
|
hash = "sha256-j5HjGcIqq93Ca9OBqEgSotoSXyw+q6Fqxa3hKk1ctwQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postPatch = ''
|
||||||
|
# Avoid blanket -Werror as it triggers on any minor compiler
|
||||||
|
# warnings like deprecated functions or invalid indentat8ion.
|
||||||
|
# Leave fixing these problems to upstream.
|
||||||
|
substituteInPlace CMakeLists.txt --replace ';-Werror;' ';'
|
||||||
|
'';
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake
|
cmake
|
||||||
ninja
|
ninja
|
||||||
|
@ -32,11 +39,6 @@ stdenv.mkDerivation rec {
|
||||||
qtwayland
|
qtwayland
|
||||||
];
|
];
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [
|
|
||||||
"-Wno-error=misleading-indentation"
|
|
||||||
"-Wno-error=deprecated-declarations"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "GUI Firewall Management Application";
|
description = "GUI Firewall Management Application";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user