From 43545a48f1f9ea5266cab8ac3d128a41db575c40 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Thu, 13 Nov 2025 15:52:20 +0100 Subject: [PATCH] systemd: enable more functionality on musl This was all originally disabled because it didn't build. Now it does, and we can probably expect it to going forward now that musl support has been accepted upstream. --- pkgs/os-specific/linux/systemd/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pkgs/os-specific/linux/systemd/default.nix b/pkgs/os-specific/linux/systemd/default.nix index 964ebdf07d2b..d69b0a1d94c4 100644 --- a/pkgs/os-specific/linux/systemd/default.nix +++ b/pkgs/os-specific/linux/systemd/default.nix @@ -108,10 +108,10 @@ withFido2 ? true, withFirstboot ? true, withGcrypt ? true, - withHomed ? !stdenv.hostPlatform.isMusl, + withHomed ? true, withHostnamed ? true, withHwdb ? true, - withImportd ? !stdenv.hostPlatform.isMusl, + withImportd ? true, withKmod ? true, withLibBPF ? lib.versionAtLeast buildPackages.llvmPackages.clang.version "10.0" @@ -143,9 +143,9 @@ withPasswordQuality ? true, withPCRE2 ? true, withPolkit ? true, - withPortabled ? !stdenv.hostPlatform.isMusl, + withPortabled ? true, withQrencode ? true, - withRemote ? !stdenv.hostPlatform.isMusl, + withRemote ? true, withResolved ? true, withShellCompletions ? true, withSysusers ? true, @@ -156,7 +156,7 @@ # adds python to closure which is too much by default withUkify ? false, withUserDb ? true, - withUtmp ? !stdenv.hostPlatform.isMusl, + withUtmp ? true, withVmspawn ? true, # 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