rabbitmq-server: fix management agent crash when calling ps on macOS (#357337)

This commit is contained in:
Domen Kožar 2024-11-19 19:14:16 +01:00 committed by GitHub
commit 26b1258a93
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -33,12 +33,14 @@ let
erlang
getconf # for getting memory limits
socat
procps
gnused
coreutils # used by helper scripts
]
++ lib.optionals stdenv.hostPlatform.isLinux [ systemd ]
); # for systemd unit activation check
++ lib.optionals stdenv.hostPlatform.isLinux [
procps # the built-in macOS version has extra entitlements to read rss
systemd # for systemd unit activation check
]
);
in
stdenv.mkDerivation rec {