diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2023-02-05 00:02:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-05 00:02:31 +0000 |
commit | bc833a50cc17209eeeb202281de5a8bcb366d786 (patch) | |
tree | 13a79ab51f96557a81808de44209c509141af14f /pkgs/servers/monitoring | |
parent | aaed9c9ee15387b1fb7cd243a923636ce8219ac5 (diff) | |
parent | 19ad2a2b84a99b8025ace91ba7b80d12d8ae71db (diff) |
Merge master into staging-next
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/zabbix/proxy.nix | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/zabbix/proxy.nix b/pkgs/servers/monitoring/zabbix/proxy.nix index b52015e1c3df5..4c34f2719186c 100644 --- a/pkgs/servers/monitoring/zabbix/proxy.nix +++ b/pkgs/servers/monitoring/zabbix/proxy.nix @@ -1,6 +1,6 @@ { lib, stdenv, fetchurl, pkg-config, libevent, libiconv, openssl, pcre, zlib , odbcSupport ? true, unixODBC -, snmpSupport ? true, net-snmp +, snmpSupport ? stdenv.buildPlatform == stdenv.hostPlatform, net-snmp , sshSupport ? true, libssh2 , sqliteSupport ? false, sqlite , mysqlSupport ? false, libmysqlclient @@ -60,6 +60,11 @@ in find database -name data.sql -exec sed -i 's|/usr/bin/||g' {} + ''; + makeFlags = [ + "AR:=$(AR)" + "RANLIB:=$(RANLIB)" + ]; + postInstall = '' mkdir -p $out/share/zabbix/database/ '' + optionalString sqliteSupport '' |