Merge pull request #268231 from wegank/nginx-darwin

authored by Ryan Lahfa and committed by GitHub c7846560 d1f4e406

+5 -1
+5 -1
pkgs/servers/http/nginx/generic.nix
··· 124 ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ 125 # fix build vts module on gcc11 126 "-Wno-error=stringop-overread" 127 - ] ++ lib.optional stdenv.isDarwin "-Wno-error=deprecated-declarations"); 128 129 configurePlatforms = []; 130
··· 124 ] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [ 125 # fix build vts module on gcc11 126 "-Wno-error=stringop-overread" 127 + ] ++ lib.optionals stdenv.isDarwin [ 128 + "-Wno-error=deprecated-declarations" 129 + "-Wno-error=gnu-folding-constant" 130 + "-Wno-error=unused-but-set-variable" 131 + ]); 132 133 configurePlatforms = []; 134