sing-box: set CGO_ENABLED=0

The upstream publishes static binaries:
https://github.com/SagerNet/sing-box/releases/
This commit is contained in:
Boris Nagaev
2026-01-18 01:03:10 -05:00
parent c444f4a39d
commit a7a0d01a8f
+2
View File
@@ -36,6 +36,8 @@ buildGoModule (finalAttrs: {
"cmd/sing-box"
];
env.CGO_ENABLED = 0;
nativeBuildInputs = [ installShellFiles ];
ldflags = [