seatd: replace systemd dependency with systemdLibs

This commit is contained in:
Aaron Andersen
2026-06-04 21:23:45 -04:00
parent 83ad3eb1ec
commit 1248ec4209
+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"}"