diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2019-01-11 07:40:25 +0100 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2019-06-17 07:06:02 +0200 |
commit | c051374da27e2b0f9c5bee1322207ae023266de6 (patch) | |
tree | 5db32fa5d35c6c31e654bc7cb1ee4a6bdb5f5f32 /pkgs/servers/http | |
parent | f27378460dd6d8969a60c49f1a180fbc82ef53b9 (diff) | |
download | nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.tar nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.tar.gz nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.tar.bz2 nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.tar.lz nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.tar.xz nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.tar.zst nixpkgs-c051374da27e2b0f9c5bee1322207ae023266de6.zip |
nginx: fix build with gcc8
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r-- | pkgs/servers/http/nginx/generic.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix index 12b873df6a4..9dd5ae70283 100644 --- a/pkgs/servers/http/nginx/generic.nix +++ b/pkgs/servers/http/nginx/generic.nix @@ -69,7 +69,10 @@ stdenv.mkDerivation { ++ optional (with stdenv.hostPlatform; isLinux || isFreeBSD) "--with-file-aio" ++ map (mod: "--add-module=${mod.src}") modules; - NIX_CFLAGS_COMPILE = [ "-I${libxml2.dev}/include/libxml2" ] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations"; + NIX_CFLAGS_COMPILE = [ + "-I${libxml2.dev}/include/libxml2" + "-Wno-error=implicit-fallthrough" + ] ++ optional stdenv.isDarwin "-Wno-error=deprecated-declarations"; configurePlatforms = []; |