Merge pull request #254769 from alyssais/nftables-noninteractive

nftables: add option to disable interactive

authored by

ajs124 and committed by
GitHub
822db74b ec985f54

+6 -4
+6 -4
pkgs/os-specific/linux/nftables/default.nix
··· 1 { lib, stdenv, fetchurl, pkg-config, bison, flex 2 , asciidoc, libxslt, findXMLCatalogs, docbook_xml_dtd_45, docbook_xsl 3 , libmnl, libnftnl, libpcap 4 - , gmp, jansson, libedit 5 , autoreconfHook 6 , withDebugSymbols ? false 7 , withPython ? false, python3 8 , withXtables ? true, iptables 9 , nixosTests ··· 26 27 buildInputs = [ 28 libmnl libnftnl libpcap 29 - gmp jansson libedit 30 - ] ++ lib.optional withXtables iptables 31 ++ lib.optionals withPython [ 32 python3 33 python3.pkgs.setuptools ··· 35 36 configureFlags = [ 37 "--with-json" 38 - "--with-cli=editline" 39 ] ++ lib.optional (!withDebugSymbols) "--disable-debug" 40 ++ lib.optional (!withPython) "--disable-python" 41 ++ lib.optional withPython "--enable-python"
··· 1 { lib, stdenv, fetchurl, pkg-config, bison, flex 2 , asciidoc, libxslt, findXMLCatalogs, docbook_xml_dtd_45, docbook_xsl 3 , libmnl, libnftnl, libpcap 4 + , gmp, jansson 5 , autoreconfHook 6 , withDebugSymbols ? false 7 + , withCli ? true, libedit 8 , withPython ? false, python3 9 , withXtables ? true, iptables 10 , nixosTests ··· 27 28 buildInputs = [ 29 libmnl libnftnl libpcap 30 + gmp jansson 31 + ] ++ lib.optional withCli libedit 32 + ++ lib.optional withXtables iptables 33 ++ lib.optionals withPython [ 34 python3 35 python3.pkgs.setuptools ··· 37 38 configureFlags = [ 39 "--with-json" 40 + (lib.withFeatureAs withCli "cli" "editline") 41 ] ++ lib.optional (!withDebugSymbols) "--disable-debug" 42 ++ lib.optional (!withPython) "--disable-python" 43 ++ lib.optional withPython "--enable-python"