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:
parent
d28b794ef0
commit
2b22a409c3
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue