about summary refs log tree commit diff
path: root/pkgs/servers/http
diff options
context:
space:
mode:
authorRyan Lahfa <masterancpp@gmail.com>2023-11-19 16:10:18 +0100
committerGitHub <noreply@github.com>2023-11-19 16:10:18 +0100
commitc78465609df557e8c55dcd541de42067036d2e3d (patch)
tree3827cb3be4b7531c2261592f82ab506cff8e955f /pkgs/servers/http
parentd1f4e406c7ccdcbeade0e856708b80080aeb9db9 (diff)
parentadd7a091c6fa845135452aec11bdc76b3b002dac (diff)
downloadnixlib-c78465609df557e8c55dcd541de42067036d2e3d.tar
nixlib-c78465609df557e8c55dcd541de42067036d2e3d.tar.gz
nixlib-c78465609df557e8c55dcd541de42067036d2e3d.tar.bz2
nixlib-c78465609df557e8c55dcd541de42067036d2e3d.tar.lz
nixlib-c78465609df557e8c55dcd541de42067036d2e3d.tar.xz
nixlib-c78465609df557e8c55dcd541de42067036d2e3d.tar.zst
nixlib-c78465609df557e8c55dcd541de42067036d2e3d.zip
Merge pull request #268231 from wegank/nginx-darwin
Diffstat (limited to 'pkgs/servers/http')
-rw-r--r--pkgs/servers/http/nginx/generic.nix6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/servers/http/nginx/generic.nix b/pkgs/servers/http/nginx/generic.nix
index 6194548a6a99..4ca4bd75d6b6 100644
--- a/pkgs/servers/http/nginx/generic.nix
+++ b/pkgs/servers/http/nginx/generic.nix
@@ -124,7 +124,11 @@ stdenv.mkDerivation {
   ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [
     # fix build vts module on gcc11
     "-Wno-error=stringop-overread"
-  ] ++ lib.optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
+  ] ++ lib.optionals stdenv.isDarwin [
+    "-Wno-error=deprecated-declarations"
+    "-Wno-error=gnu-folding-constant"
+    "-Wno-error=unused-but-set-variable"
+  ]);
 
   configurePlatforms = [];