networkmanager: fix build without systemd (#554740)

This commit is contained in:
Aaron Andersen
2026-08-22 13:07:47 +00:00
committed by GitHub

View File

@@ -112,6 +112,9 @@ stdenv.mkDerivation (finalAttrs: {
(mesonOption "systemdsystemunitdir" (
if withSystemd then "${placeholder "out"}/etc/systemd/system" else "no"
))
(mesonOption "systemdsystemgeneratordir" (
if withSystemd then "${placeholder "out"}/lib/systemd/system-generators" else "no"
))
# to enable link-local connections
(mesonOption "udev_dir" "${placeholder "out"}/lib/udev")
(mesonOption "dbus_conf_dir" "${placeholder "out"}/share/dbus-1/system.d")