Merge pull request #101709 from r-burns/goaccess

goaccess: fix build on darwin
This commit is contained in:
Mario Rodas 2020-10-25 23:00:47 -05:00 committed by GitHub
commit a948654086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl, pkgconfig, ncurses, glib, libmaxminddb }:
{ stdenv, fetchurl, pkgconfig, ncurses, glib, libmaxminddb, fetchpatch }:
stdenv.mkDerivation rec {
version = "1.4";
@ -9,6 +9,13 @@ stdenv.mkDerivation rec {
sha256 = "1gkpjg39f3afdwm9128jqjsfap07p8s027czzlnxfmi5hpzvkyz8";
};
patches = [
(fetchpatch {
url = "https://github.com/allinurl/goaccess/commit/514618cdd69453497fbf67913ccb37a0a0b07391.patch";
sha256 = "11lp7mabfl6ibgzsd9nw10k2xvcm0hrimrwidl06r8dqn2jzjxf6";
})
];
configureFlags = [
"--enable-geoip=mmdb"
"--enable-utf8"