diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-22 12:34:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-22 12:34:30 +0100 |
commit | d99d2ceec6283ab1b28c00cc85d392bf6673fb4d (patch) | |
tree | 2979e81e960892340c9fd61ade41cb23e448285f /pkgs/applications/window-managers | |
parent | 2878ebbaf19672a5865c82e4b256d62ca195233a (diff) | |
parent | 42815b4a0ca4b1a433ce58f7bf92fb5fa1aec064 (diff) |
Merge pull request #192197 from amjoseph-nixpkgs/pr/system/isSystemd
treewide: systemdSupport: use lib.meta.availableOn
Diffstat (limited to 'pkgs/applications/window-managers')
-rw-r--r-- | pkgs/applications/window-managers/sway/default.nix | 3 | ||||
-rw-r--r-- | pkgs/applications/window-managers/sway/idle.nix | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/pkgs/applications/window-managers/sway/default.nix b/pkgs/applications/window-managers/sway/default.nix index e49edbd190930..6cfc55240222a 100644 --- a/pkgs/applications/window-managers/sway/default.nix +++ b/pkgs/applications/window-managers/sway/default.nix @@ -6,9 +6,8 @@ , nixosTests # Used by the NixOS module: , isNixOS ? false - , enableXWayland ? true, xorg -, systemdSupport ? stdenv.isLinux +, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd , dbusSupport ? true , dbus , trayEnabled ? systemdSupport && dbusSupport diff --git a/pkgs/applications/window-managers/sway/idle.nix b/pkgs/applications/window-managers/sway/idle.nix index 6479760a743e8..b410919022f12 100644 --- a/pkgs/applications/window-managers/sway/idle.nix +++ b/pkgs/applications/window-managers/sway/idle.nix @@ -1,7 +1,7 @@ { lib, stdenv, fetchFromGitHub , meson, ninja, pkg-config, scdoc, wayland-scanner , wayland, wayland-protocols, runtimeShell -, systemdSupport ? stdenv.isLinux, systemd +, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd }: stdenv.mkDerivation rec { |