Skip to content

Instantly share code, notes, and snippets.

nixpkgs.overlays = [ ( self: super: {
matomo = super.matomo.overrideDerivation (attrs: {
src2 = super.fetchurl {
url = "http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz";
sha256 = "1kf4brki4v5kl7cxn4i8fifdw2bd004r4y62nb6ingay3592xnwh";
};
postUnpack = ''
fileName=''${src2##*/}
fileName=''${fileName#*-}
fileName=''${fileName%.gz}
unpacking sources
unpacking source archive /nix/store/9hkss1sjxmxi6206ldjn96kkbbhd5xg1-libconfig-1.7.2.tar.gz
source root is libconfig-1.7.2
setting SOURCE_DATE_EPOCH to timestamp 1515214337 of file libconfig-1.7.2/contrib/chained/libconfig_chained.h
patching sources
configuring
fixing libtool script ./aux-build/ltmain.sh
configure flags: --disable-dependency-tracking --prefix=/nix/store/zg5h6jcl1lncp82jzr52qs0rlwng1gbj-libconfig-static-x86_64-w64-mingw32-1.7.2 --disable-examples --disable-shared --enable-static --disable-shared --build=x86_64-unknown-linux-gnu --host=x86_64-w64-mingw32
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-w64-mingw32