From bf251489024ee59903b8f2f99523e5c2e518b522 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Sun, 18 Feb 2018 14:12:43 +0100 Subject: [PATCH] ntopng: fixup build with gcc7 ... but the new gcc pointed out some real bug. I suppose update would be best: https://github.com/ntop/ntopng/releases --- pkgs/tools/networking/ntopng/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/tools/networking/ntopng/default.nix b/pkgs/tools/networking/ntopng/default.nix index d1a90d9d1aad..b307a8f6f131 100644 --- a/pkgs/tools/networking/ntopng/default.nix +++ b/pkgs/tools/networking/ntopng/default.nix @@ -53,6 +53,8 @@ stdenv.mkDerivation rec { sed 's|LIBS += -lstdc++.6||' -i Makefile ''; + NIX_CFLAGS_COMPILE = [ "-fpermissive" ]; + meta = with stdenv.lib; { description = "High-speed web-based traffic analysis and flow collection tool"; homepage = http://www.ntop.org/products/ntop/;