Commit 3c30b4cc authored by Ihar Hrachyshka's avatar Ihar Hrachyshka
Browse files

nftables: fix build failure

parent fe28d2e8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"