mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 11:50:06 +00:00
systemd: remove iptables dependency
Since https://github.com/systemd/systemd/pull/17026 (v248 in 2020), systemd can use nftables without any new dependency! In 259, systemd plans to remove iptables suport altogether.
This commit is contained in:
@@ -114,7 +114,6 @@
|
||||
withHostnamed ? true,
|
||||
withHwdb ? true,
|
||||
withImportd ? !stdenv.hostPlatform.isMusl,
|
||||
withIptables ? true,
|
||||
withKmod ? true,
|
||||
withLibBPF ?
|
||||
lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
|
||||
@@ -427,7 +426,6 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
++ lib.optional withKmod kmod
|
||||
++ lib.optional withLibidn2 libidn2
|
||||
++ lib.optional withLibseccomp libseccomp
|
||||
++ lib.optional withIptables iptables
|
||||
++ lib.optional withPam pam
|
||||
++ lib.optional withPCRE2 pcre2
|
||||
++ lib.optional withSelinux libselinux
|
||||
@@ -566,7 +564,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.mesonEnable "libcurl" wantCurl)
|
||||
(lib.mesonEnable "libidn" false)
|
||||
(lib.mesonEnable "libidn2" withLibidn2)
|
||||
(lib.mesonEnable "libiptc" withIptables)
|
||||
(lib.mesonEnable "libiptc" false)
|
||||
(lib.mesonEnable "repart" withRepart)
|
||||
(lib.mesonEnable "sysupdate" withSysupdate)
|
||||
(lib.mesonEnable "sysupdated" withSysupdate)
|
||||
|
||||
@@ -11099,7 +11099,6 @@ with pkgs;
|
||||
withHomed = false;
|
||||
withHwdb = false;
|
||||
withImportd = false;
|
||||
withIptables = false;
|
||||
withLibBPF = false;
|
||||
withLibidn2 = false;
|
||||
withLocaled = false;
|
||||
|
||||
Reference in New Issue
Block a user