diff options
author | Domen Kožar | 2020-10-27 10:40:37 +0100 |
---|---|---|
committer | GitHub | 2020-10-27 10:40:37 +0100 |
commit | 1f401964bbe25cf453b2f27e4659d2fbdcf1d869 (patch) | |
tree | 91a74f69b9c960065d52944b44b171c218522c31 | |
parent | 13d0c311e3ae923a00f734b43fd1d35b47d8943a (diff) | |
parent | edfbd838c45300f0c2d113b2b5940f470a4cc4a8 (diff) |
Merge pull request #101731 from r-burns/backport-goaccess
[20.09] goaccess: fix build on darwin
-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" |