aboutsummaryrefslogtreecommitdiffhomepage
path: root/nix
diff options
context:
space:
mode:
authorrewine <[email protected]>2023-07-27 17:11:13 +0800
committerMihai Fufezan <[email protected]>2023-08-09 20:25:28 +0300
commitfe9453c6432ccdb3935ff6e9aa32f9d985aff577 (patch)
tree85e6413e54a83d5b9c08ba07b9e1025e8327e83f /nix
parentd7209b90bb8d866a641a49f815481fa9bc323105 (diff)
downloadHyprland-fe9453c6432ccdb3935ff6e9aa32f9d985aff577.tar.gz
Hyprland-fe9453c6432ccdb3935ff6e9aa32f9d985aff577.zip
Nix: enable systemd only when it's available on hostPlatform
Diffstat (limited to 'nix')
-rw-r--r--nix/default.nix2
1 files changed, 1 insertions, 1 deletions
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,