nftables: fix build failure (#450524)

This commit is contained in:
K900
2025-10-10 02:25:44 +00:00
committed by GitHub
+1 -1
View File
@@ -66,7 +66,7 @@ stdenv.mkDerivation rec {
++ lib.optional withCli libedit
++ lib.optional withXtables iptables;
env.NIX_LDFLAGS = if stdenv.hostPlatform.isStatic then "-lncursesw" else null;
env.NIX_LDFLAGS = lib.optionalString stdenv.hostPlatform.isStatic "-lncursesw";
configureFlags = [
"--with-json"