diff options
| author | Alyssa Ross <hi@alyssa.is> | 2022-05-23 14:19:15 +0000 |
|---|---|---|
| committer | Alyssa Ross <hi@alyssa.is> | 2022-05-25 22:17:48 +0000 |
| commit | 244c3c00bb6f2fbf59372ed73cd5134d3ff2f84d (patch) | |
| tree | f39031efd5af21eaf6fc62c964be1aa61f58a0e6 | |
| parent | Merge pull request #174310 from NixOS/backport-174280-to-release-21.11 (diff) | |
| download | nixpkgs-244c3c00bb6f2fbf59372ed73cd5134d3ff2f84d.tar.gz | |
linuxPackages.netatop: fix build with Linux 5.18
With 5.18, implicit fallthrough is an error, and netatop hasn't caught
up yet.
(cherry picked from commit 197e9ba286917cf32ed85efa117a14285b21a998)
| -rw-r--r-- | pkgs/os-specific/linux/netatop/default.nix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/netatop/default.nix b/pkgs/os-specific/linux/netatop/default.nix index 28f989929a4c..fce58fe08d13 100644 --- a/pkgs/os-specific/linux/netatop/default.nix +++ b/pkgs/os-specific/linux/netatop/default.nix @@ -15,6 +15,7 @@ stdenv.mkDerivation { buildInputs = [ kmod zlib ]; hardeningDisable = [ "pic" ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=implicit-fallthrough" ]; patches = [ # fix paths in netatop.service |
