Skip to content

Commit

Permalink
goaccess: fix build on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
r-burns committed Oct 25, 2020
1 parent 2566c36 commit d8b38de
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 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";
Expand All @@ -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"
Expand Down

0 comments on commit d8b38de

Please sign in to comment.