diff --git a/pkgs/tools/networking/webalizer/default.nix b/pkgs/tools/networking/webalizer/default.nix index 200202f9ae26..cf49ad0be3e2 100644 --- a/pkgs/tools/networking/webalizer/default.nix +++ b/pkgs/tools/networking/webalizer/default.nix @@ -9,6 +9,10 @@ stdenv.mkDerivation rec { sha256 = "0nl88y57a7gawfragj3viiigfkh5sgivfb4n0k89wzcjw278pj5g"; }; + # Workaround build failure on -fno-common toolchains: + # ld: dns_resolv.o:(.bss+0x20): multiple definition of `system_info'; webalizer.o:(.bss+0x76e0): first defined here + NIX_CFLAGS_COMPILE = "-fcommon"; + preConfigure = '' substituteInPlace ./configure \ @@ -25,7 +29,7 @@ stdenv.mkDerivation rec { meta = with lib; { description = "Web server log file analysis program"; - homepage = "http://www.webalizer.org"; + homepage = "https://webalizer.net/"; platforms = platforms.unix; license = licenses.gpl2; };