fix: systemd build flag combinations

This commit is contained in:
David 2024-05-10 16:57:00 +02:00 committed by Timothy DeHerrera
parent 06a15575b0
commit e5b250b3c2
No known key found for this signature in database
GPG Key ID: E44213186BC9AFE2

View File

@ -552,7 +552,7 @@ stdenv.mkDerivation (finalAttrs: {
(lib.mesonEnable "zlib" withCompression)
# NSS
(lib.mesonEnable "nss-mymachines" withNss)
(lib.mesonEnable "nss-mymachines" (withNss && withMachined))
(lib.mesonEnable "nss-resolve" withNss)
(lib.mesonBool "nss-myhostname" withNss)
(lib.mesonBool "nss-systemd" withNss)
@ -564,7 +564,7 @@ stdenv.mkDerivation (finalAttrs: {
# FIDO2
(lib.mesonEnable "libfido2" withFido2)
(lib.mesonEnable "openssl" withFido2)
(lib.mesonEnable "openssl" (withHomed || withFido2 || withSysupdate))
# Password Quality
(lib.mesonEnable "pwquality" withPasswordQuality)