mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-22 13:08:39 +03:00
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
@ -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 New Issue
Block a user