From fe9453c6432ccdb3935ff6e9aa32f9d985aff577 Mon Sep 17 00:00:00 2001 From: rewine Date: Thu, 27 Jul 2023 17:11:13 +0800 Subject: [PATCH] Nix: enable systemd only when it's available on hostPlatform --- nix/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/default.nix b/nix/default.nix index a2e6f0ca..8c3c6364 100644 --- a/nix/default.nix +++ b/nix/default.nix @@ -30,7 +30,7 @@ hidpiXWayland ? false, legacyRenderer ? false, nvidiaPatches ? false, - withSystemd ? true, + withSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd, wrapRuntimeDeps ? true, version ? "git", commit,