seatd: replace systemd dependency with systemdLibs (#528179)

This commit is contained in:
Aaron Andersen
2026-06-05 21:33:54 +00:00
committed by GitHub
+3 -3
View File
@@ -6,8 +6,8 @@
pkg-config,
scdoc,
stdenv,
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd,
systemd,
systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemdLibs,
systemdLibs,
nixosTests,
}:
@@ -40,7 +40,7 @@ stdenv.mkDerivation (finalAttrs: {
scdoc
];
buildInputs = lib.optionals systemdSupport [ systemd ];
buildInputs = lib.optionals systemdSupport [ systemdLibs ];
mesonFlags = [
"-Dlibseat-logind=${if systemdSupport then "systemd" else "disabled"}"