summary refs log tree commit diff
path: root/pkgs/tools/system/htop/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/system/htop/default.nix')
-rw-r--r--pkgs/tools/system/htop/default.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/tools/system/htop/default.nix b/pkgs/tools/system/htop/default.nix
index e3dca89c464..cb79607ebbf 100644
--- a/pkgs/tools/system/htop/default.nix
+++ b/pkgs/tools/system/htop/default.nix
@@ -2,8 +2,7 @@
 , ncurses
 , IOKit
 , sensorsSupport ? stdenv.isLinux, lm_sensors
-, systemdSupport ? stdenv.isLinux && !stdenv.hostPlatform.isStatic
-, systemd
+, systemdSupport ? lib.meta.availableOn stdenv.hostPlatform systemd, systemd
 }:
 
 assert systemdSupport -> stdenv.isLinux;