linuxPackages.netatop: fix build with Linux 5.18

With 5.18, implicit fallthrough is an error, and netatop hasn't caught
up yet.
This commit is contained in:
Alyssa Ross
2022-05-25 12:34:07 +00:00
parent d28b794ef0
commit 2b22a409c3
@@ -16,6 +16,7 @@ stdenv.mkDerivation {
buildInputs = [ kmod zlib ];
hardeningDisable = [ "pic" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];
patches = [
# fix paths in netatop.service