nftables: fix build failure

This commit is contained in:
Ihar Hrachyshka
2025-10-09 22:04:26 -04:00
parent fe28d2e8e9
commit 3c30b4cc88

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"