Merge pull request #97649 from immae/fix_nagios

nagios: fix build
This commit is contained in:
Ryan Mulligan 2020-09-10 07:09:03 -07:00 committed by GitHub
commit 6d96b3cae7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -3553,6 +3553,12 @@
githubId = 993484;
name = "Greg Hale";
};
immae = {
email = "ismael@bouya.org";
github = "immae";
githubId = 510202;
name = "Ismaël Bouya";
};
imuli = {
email = "i@imu.li";
github = "imuli";

View File

@ -14,6 +14,7 @@ stdenv.mkDerivation rec {
configureFlags = [ "--localstatedir=/var/lib/nagios" ];
buildFlags = [ "all" ];
CFLAGS = "-ldl";
# Do not create /var directories
preInstall = ''
@ -36,6 +37,6 @@ stdenv.mkDerivation rec {
homepage = "https://www.nagios.org/";
license = stdenv.lib.licenses.gpl2;
platforms = stdenv.lib.platforms.linux;
maintainers = with stdenv.lib.maintainers; [ thoughtpolice relrod ];
maintainers = with stdenv.lib.maintainers; [ immae thoughtpolice relrod ];
};
}