systemd: enable more functionality on musl (#461277)

This commit is contained in:
Florian Klink
2025-11-17 18:20:40 +00:00
committed by GitHub

View File

@@ -108,10 +108,10 @@
withFido2 ? true, withFido2 ? true,
withFirstboot ? true, withFirstboot ? true,
withGcrypt ? true, withGcrypt ? true,
withHomed ? !stdenv.hostPlatform.isMusl, withHomed ? true,
withHostnamed ? true, withHostnamed ? true,
withHwdb ? true, withHwdb ? true,
withImportd ? !stdenv.hostPlatform.isMusl, withImportd ? true,
withKmod ? true, withKmod ? true,
withLibBPF ? withLibBPF ?
lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0" lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0"
@@ -143,9 +143,9 @@
withPasswordQuality ? true, withPasswordQuality ? true,
withPCRE2 ? true, withPCRE2 ? true,
withPolkit ? true, withPolkit ? true,
withPortabled ? !stdenv.hostPlatform.isMusl, withPortabled ? true,
withQrencode ? true, withQrencode ? true,
withRemote ? !stdenv.hostPlatform.isMusl, withRemote ? true,
withResolved ? true, withResolved ? true,
withShellCompletions ? true, withShellCompletions ? true,
withSysusers ? true, withSysusers ? true,
@@ -156,7 +156,7 @@
# adds python to closure which is too much by default # adds python to closure which is too much by default
withUkify ? false, withUkify ? false,
withUserDb ? true, withUserDb ? true,
withUtmp ? !stdenv.hostPlatform.isMusl, withUtmp ? true,
withVmspawn ? true, withVmspawn ? true,
# kernel-install shouldn't usually be used on NixOS, but can be useful, e.g. for # kernel-install shouldn't usually be used on NixOS, but can be useful, e.g. for
# building disk images for non-NixOS systems. To save users from trying to use it # building disk images for non-NixOS systems. To save users from trying to use it