Update pkgs/tools/networking/nfstrace/default.nix

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Sergei Trofimovich 2021-11-30 19:31:55 +00:00 committed by GitHub
parent 7331816f56
commit 568e4f57ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,10 +33,9 @@ stdenv.mkDerivation rec {
];
postPatch = ''
# -Wall -Wextra -Werror fails on clang and newer gcc
substituteInPlace CMakeLists.txt \
--replace "-Wno-braced-scalar-init" ""
# -Wall -Wextra -Werror fails on clang and newer gcc
substituteInPlace CMakeLists.txt \
--replace "-Wno-braced-scalar-init" "" \
--replace "-Werror" ""
'';