ソースを参照

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

(cherry picked from commit 213623e291)
wip-nanopi-m4v2
Ismaël Bouya 6年前
committed by Jon
コミット
faf2373e8f
2個のファイルの変更8行の追加1行の削除
  1. +6
    -0
      maintainers/maintainer-list.nix
  2. +2
    -1
      pkgs/servers/monitoring/nagios/default.nix

+ 6
- 0
maintainers/maintainer-list.nix ファイルの表示

@@ -3541,6 +3541,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";


+ 2
- 1
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 ];
};
}

読み込み中…
キャンセル
保存