mod_tile: testing enabled

It looks like the commit used to build `mapnik` was just missing some additional variable definitions in `libmapnik.pc` which are relied upon by the commit used to build `mod_tile`

authored by Hummeltech and committed by GitHub a7fc0b6e 49e06b93

+4 -4
+4 -4
pkgs/servers/http/apache-modules/mod_tile/default.nix
··· 50 ]; 51 52 # the install script wants to install mod_tile.so into apache's modules dir 53 postPatch = '' 54 sed -i "s|\''${HTTPD_MODULES_DIR}|$out/modules|" CMakeLists.txt 55 ''; 56 57 enableParallelBuilding = true; 58 59 - # We need to either disable the `render_speedtest` and `download_tile` tests 60 - # or fix the URLs they try to download from 61 - #cmakeFlags = [ "-DENABLE_TESTS=1" ]; 62 - #doCheck = true; 63 64 meta = with lib; { 65 homepage = "https://github.com/openstreetmap/mod_tile";
··· 50 ]; 51 52 # the install script wants to install mod_tile.so into apache's modules dir 53 + # also mapnik pkg-config config is missing this patch: https://github.com/mapnik/mapnik/commit/692c2faa0ef168a8c908d262c2bbfe51a74a8336.patch 54 postPatch = '' 55 sed -i "s|\''${HTTPD_MODULES_DIR}|$out/modules|" CMakeLists.txt 56 + sed -i -e "s|@MAPNIK_FONTS_DIR@|$(mapnik-config --fonts)|" -e "s|@MAPNIK_PLUGINS_DIR@|$(mapnik-config --input-plugins)|" tests/renderd.conf.in 57 ''; 58 59 enableParallelBuilding = true; 60 61 + cmakeFlags = [ "-DENABLE_TESTS=1" ]; 62 + doCheck = true; 63 64 meta = with lib; { 65 homepage = "https://github.com/openstreetmap/mod_tile";