pkgsStatic.procps: disable systemd support on static build

This commit is contained in:
Dmitry Bogatov
2022-11-14 20:16:56 -05:00
committed by Rick van Schijndel
parent 4c233af423
commit aa9bbf6fcf

View File

@@ -7,7 +7,7 @@
# `ps` with systemd support is able to properly report different
# attributes like unit name, so we want to have it on linux.
, withSystemd ? stdenv.isLinux
, withSystemd ? stdenv.isLinux && !stdenv.hostPlatform.isStatic
, systemd
# procps is mostly Linux-only. Most commands require a running Linux