diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2020-10-25 23:00:47 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-25 23:00:47 -0500 |
commit | a948654086898aa95541bcd2ab39325588dc3332 (patch) | |
tree | 1ef4785cb8fdc5223aac878c1e8ef85ff9c43560 /pkgs/tools | |
parent | 0b8a6e787cb4fd45731781d78ac0f4a21f4e9543 (diff) | |
parent | d8b38de1e10f7a09480766da9d8f3b6d2e55f7ec (diff) |
Merge pull request #101709 from r-burns/goaccess
goaccess: fix build on darwin
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/misc/goaccess/default.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/tools/misc/goaccess/default.nix b/pkgs/tools/misc/goaccess/default.nix index 1906c9d56656..d14ef9d526ad 100644 --- a/pkgs/tools/misc/goaccess/default.nix +++ b/pkgs/tools/misc/goaccess/default.nix @@ -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" |