diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-09-10 12:23:11 +0200 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2020-09-10 15:37:13 +0200 |
commit | 213623e2911da27800a9c44e6f360082e89650fd (patch) | |
tree | 633efccdbc7eeebe0acf859fe0bfddb898593da7 /pkgs/servers/monitoring | |
parent | a4a1c016a332c270924f7901a2cb10f97034645c (diff) |
nagios: fix build
The compiler complains about dl* function missing, this commit adds the necessary flag to pass to gcc to make it build correctly
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/nagios/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/nagios/default.nix b/pkgs/servers/monitoring/nagios/default.nix index b8246c27b47de..12957f6d1bb55 100644 --- a/pkgs/servers/monitoring/nagios/default.nix +++ b/pkgs/servers/monitoring/nagios/default.nix @@ -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 ]; }; } |