nylon: fix build with gcc 15 (#523049)

This commit is contained in:
yaya
2026-05-22 15:43:51 +00:00
committed by GitHub
+3
View File
@@ -29,6 +29,9 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ libevent ];
# K&R-style function pointer declarations break under gcc 15's C23 default.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
meta = {
homepage = "http://monkey.org/~marius/nylon";
description = "Proxy server, supporting SOCKS 4 and 5, as well as a mirror mode";