git.iko.soy/typeable/nixpkgs
on master help sign in
icinga2: 2.13.1 -> 2.13.2
commite0661862ff2098bd018e6eb6d7b3662a5dc02d05 authorJanne Heß <janne@hess.ooo> dateSat 13 Nov 2021, 22:47 (5 years ago) parent781e656
1 file changed+8−3
pkgs/servers/monitoring/icinga2/default.nix+8−3
pkgs/servers/monitoring/icinga2/default.nix+8−3
@@ -1,4 +1,4 @@
1−{ stdenv, lib, fetchFromGitHub, cmake, flex, bison, systemd
1+{ stdenv, lib, fetchFromGitHub, fetchpatch, cmake, flex, bison, systemd
22, boost, openssl, patchelf, mariadb-connector-c, postgresql, zlib
33# Databases
44, withMysql ? true, withPostgresql ? false
@@ -9,19 +9,24 @@
99
1010stdenv.mkDerivation rec {
1111 pname = "icinga2${nameSuffix}";
12− version = "2.13.1";
12+ version = "2.13.2";
1313
1414 src = fetchFromGitHub {
1515 owner = "icinga";
1616 repo = "icinga2";
1717 rev = "v${version}";
18− sha256 = "sha256-cGVUNO3p00bkPd4tPbipevuixHz8ptk6W8y1rl3dge8=";
18+ sha256 = "sha256:1ijvav2ymgq1i8jycrqbp2y4r54y0dkwjnwxc20bmcixxh877zdn";
1919 };
2020
2121 patches = [
2222 ./etc-icinga2.patch # Makes /etc/icinga2 relative to / instead of the store path
2323 ./no-systemd-service.patch # Prevent systemd service from being written to /usr
2424 ./no-var-directories.patch # Prevent /var directories from being created
25+ # Fix the non-unity build
26+ (fetchpatch {
27+ url = "https://github.com/Icinga/icinga2/commit/2ad0a4b8c3852ad937fec9fc85780230257c821e.patch";
28+ sha256 = "sha256:06qn7x73zbccmd8ycj46a29x2rr6qjwg0rr831wc2gc6q2k9d2g0";
29+ })
2530 ];
2631
2732 cmakeFlags = let