tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
nginx: fix build on darwin
Weijia Wang
2 years ago
add7a091
5d11cc77
+5
-1
1 changed file
expand all
collapse all
unified
split
pkgs
servers
http
nginx
generic.nix
+5
-1
pkgs/servers/http/nginx/generic.nix
reviewed
···
124
124
] ++ lib.optionals (stdenv.cc.isGNU && lib.versionAtLeast stdenv.cc.version "11") [
125
125
# fix build vts module on gcc11
126
126
"-Wno-error=stringop-overread"
127
127
-
] ++ lib.optional stdenv.isDarwin "-Wno-error=deprecated-declarations");
127
127
+
] ++ lib.optionals stdenv.isDarwin [
128
128
+
"-Wno-error=deprecated-declarations"
129
129
+
"-Wno-error=gnu-folding-constant"
130
130
+
"-Wno-error=unused-but-set-variable"
131
131
+
]);
128
132
129
133
configurePlatforms = [];
130
134