linuxPackages.netatop: fix build with Linux 5.18

With 5.18, implicit fallthrough is an error, and netatop hasn't caught
up yet.
main
Alyssa Ross 2 years ago
parent d28b794ef0
commit 2b22a409c3
  1. 1
      pkgs/os-specific/linux/netatop/default.nix

@ -16,6 +16,7 @@ stdenv.mkDerivation {
buildInputs = [ kmod zlib ];
hardeningDisable = [ "pic" ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ];
patches = [
# fix paths in netatop.service

Loading…
Cancel
Save