systemd: build without iptables when networkd is disabled
upstreams TODO mentions iptables-dev (libiptc) is also used for nspawn, but it seems like it only makes use of this via networkd anyways (or does these days) - at least systemdMinimal compiles successfully without iptables in the build closure.
This commit is contained in:
parent
8434da5715
commit
39e733336c
@ -167,7 +167,6 @@ stdenv.mkDerivation {
|
|||||||
cryptsetup
|
cryptsetup
|
||||||
curl.dev
|
curl.dev
|
||||||
glib
|
glib
|
||||||
iptables
|
|
||||||
kmod
|
kmod
|
||||||
libapparmor
|
libapparmor
|
||||||
libcap
|
libcap
|
||||||
@ -181,7 +180,9 @@ stdenv.mkDerivation {
|
|||||||
pam
|
pam
|
||||||
pcre2
|
pcre2
|
||||||
xz
|
xz
|
||||||
] ++ lib.optional withKexectools kexectools
|
]
|
||||||
|
++ lib.optional withNetworkd iptables
|
||||||
|
++ lib.optional withKexectools kexectools
|
||||||
++ lib.optional withLibseccomp libseccomp
|
++ lib.optional withLibseccomp libseccomp
|
||||||
++ lib.optional withEfi gnu-efi
|
++ lib.optional withEfi gnu-efi
|
||||||
++ lib.optional withSelinux libselinux
|
++ lib.optional withSelinux libselinux
|
||||||
|
Loading…
x
Reference in New Issue
Block a user