diff options
author | Aaron Andersen <aaron@fosslib.net> | 2020-08-17 10:07:53 -0400 |
---|---|---|
committer | Aaron Andersen <aaron@fosslib.net> | 2020-08-18 10:30:23 -0400 |
commit | 5e630bf5d391d4b61db6914991f1488f7ee20aff (patch) | |
tree | 5fe38428bf7260c924899269ebdc9d32c9927191 /pkgs/servers/monitoring | |
parent | 927bd3e66553ffd1dfb19b11c464ff7664dfd0d5 (diff) |
zabbix: 4.4.8 -> 5.0.2
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/zabbix/versions.nix | 6 | ||||
-rw-r--r-- | pkgs/servers/monitoring/zabbix/web.nix | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/servers/monitoring/zabbix/versions.nix b/pkgs/servers/monitoring/zabbix/versions.nix index c75df46cf0479..f867c819d07f0 100644 --- a/pkgs/servers/monitoring/zabbix/versions.nix +++ b/pkgs/servers/monitoring/zabbix/versions.nix @@ -1,7 +1,7 @@ generic: { - v44 = generic { - version = "4.4.8"; - sha256 = "0l9n4l5179lf90krv1kb0lraipj7q4hyba6r48n6rj2zqx2j4mn0"; + v50 = generic { + version = "5.0.2"; + sha256 = "1cnns7ixqi7ank3cbvcs7d8rb5zh9qiqbmgivazr83jnz81qg46w"; }; v40 = generic { diff --git a/pkgs/servers/monitoring/zabbix/web.nix b/pkgs/servers/monitoring/zabbix/web.nix index a75deff3db275..f677fe5c0af35 100644 --- a/pkgs/servers/monitoring/zabbix/web.nix +++ b/pkgs/servers/monitoring/zabbix/web.nix @@ -18,7 +18,7 @@ import ./versions.nix ({ version, sha256 }: installPhase = '' mkdir -p $out/share/zabbix/ - cp -a frontends/php/. $out/share/zabbix/ + cp -a ${if stdenv.lib.versionAtLeast version "5.0.0" then "ui/." else "frontends/php/."} $out/share/zabbix/ cp ${phpConfig} $out/share/zabbix/conf/zabbix.conf.php ''; |