Nix: enable systemd only when it's available on hostPlatform

This commit is contained in:
rewine 2023-07-27 17:11:13 +08:00 committed by Mihai Fufezan
parent d7209b90bb
commit fe9453c643

View file

@ -30,7 +30,7 @@
hidpiXWayland ? false, hidpiXWayland ? false,
legacyRenderer ? false, legacyRenderer ? false,
nvidiaPatches ? false, nvidiaPatches ? false,
withSystemd ? true, withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd,
wrapRuntimeDeps ? true, wrapRuntimeDeps ? true,
version ? "git", version ? "git",
commit, commit,