libcanberra: replace systemd dependency with systemdLibs

This commit is contained in:
Aaron Andersen
2026-08-07 21:59:18 -04:00
parent 9cf0303025
commit b8633aab22

View File

@@ -12,8 +12,8 @@
gst_all_1,
libvorbis,
libcap,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemdLibs,
systemdLibs,
withAlsa ? stdenv.hostPlatform.isLinux,
alsa-lib,
}:
@@ -46,7 +46,7 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optional (gtkSupport == "gtk2") gtk2-x11
++ lib.optional (gtkSupport == "gtk3") gtk3-x11
++ lib.optional stdenv.hostPlatform.isLinux libcap
++ lib.optional withSystemd systemd
++ lib.optional withSystemd systemdLibs
++ lib.optional withAlsa alsa-lib;
configureFlags = [