systemd: don't try to dlopen libintl.so.8 on musl

This commit is contained in:
Alyssa Ross
2026-06-28 11:18:18 +02:00
parent 9ea284ac3f
commit f352780c96
+8 -1
View File
@@ -319,7 +319,14 @@ stdenv.mkDerivation (finalAttrs: {
buildPackages.llvmPackages.libllvm
];
autoPatchelfFlags = [ "--keep-libc" ];
autoPatchelfFlags = [
"--keep-libc"
]
++ lib.optionals stdenv.hostPlatform.isMusl [
# TODO: can be unconditionalized on staging.
# Nixpkgs does not rely on gettext for libintl for musl.
"--ignore-missing=libintl.so.8"
];
buildInputs = [
libxcrypt