@@ -32,14 +32,19 @@ let
3232
3333 nativeBuildInputs = [ makeWrapper ];
3434
35− # make-localhost-default-database-server.patch:
36− # This changes the default value of the database server field
37− # from 127.0.0.1 to localhost.
38− # unix socket authentication only works with localhost,
39− # but password-based SQL authentication works with both.
40− # TODO: is upstream interested in this?
41− # -> discussion at https://github.com/matomo-org/matomo/issues/12646
42− patches = [ ./make-localhost-default-database-host.patch ];
35+ patches = [
36+ # This changes the default value of the database server field
37+ # from 127.0.0.1 to localhost.
38+ # unix socket authentication only works with localhost,
39+ # but password-based SQL authentication works with both.
40+ # TODO: is upstream interested in this?
41+ # -> discussion at https://github.com/matomo-org/matomo/issues/12646
42+ ./make-localhost-default-database-host.patch
43+
44+ # This changes the default config for path.geoip2 so that it doesn't point
45+ # to the nix store.
46+ ./change-path-geoip2.patch
47+ ];
4348
4449 # this bootstrap.php adds support for getting PIWIK_USER_PATH
4550 # from an environment variable. Point it to a mutable location
@@ -73,6 +78,7 @@ let
7378 "misc/composer/build-xhprof.sh"
7479 "misc/composer/clean-xhprof.sh"
7580 "misc/cron/archive.sh"
81+ "plugins/GeoIp2/config/config.php"
7682 "plugins/Installation/FormDatabaseSetup.php"
7783 "vendor/pear/archive_tar/sync-php4"
7884 "vendor/szymach/c-pchart/coverage.sh"