osmscout-server: fix build (#517199)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-07 23:53:19 +00:00
committed by GitHub
@@ -9,6 +9,7 @@
libmicrohttpd,
libosmscout,
libpostal,
libtiff,
marisa,
osrm-backend,
protobuf_21,
@@ -58,6 +59,7 @@ stdenv.mkDerivation (finalAttrs: {
osrm-backend
libmicrohttpd
libpostal
libtiff
sqlite
marisa
kyotocabinet
@@ -71,6 +73,9 @@ stdenv.mkDerivation (finalAttrs: {
"CONFIG+=disable_mapnik" # Disable the optional mapnik backend
];
# valhalla 3.6 headers use std::ranges/std::views (C++20).
env.NIX_CFLAGS_COMPILE = "-std=c++20";
meta = {
description = "Maps server providing tiles, geocoder, and router";
homepage = "https://github.com/rinigus/osmscout-server";