From 87208cc7daf6542a9be4701a97db7a42d02ec951 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Tue, 7 Feb 2023 02:10:23 +0300 Subject: [PATCH] mapcache: fix build on darwin --- pkgs/servers/geospatial/mapcache/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/servers/geospatial/mapcache/default.nix b/pkgs/servers/geospatial/mapcache/default.nix index eea321abb22f..781edfce98c8 100644 --- a/pkgs/servers/geospatial/mapcache/default.nix +++ b/pkgs/servers/geospatial/mapcache/default.nix @@ -48,6 +48,8 @@ stdenv.mkDerivation rec { "-DAPACHE_MODULE_DIR=${placeholder "out"}/modules" ]; + NIX_CFLAGS_COMPILE = "-std=c99"; + meta = with lib; { description = "A server that implements tile caching to speed up access to WMS layers"; homepage = "https://mapserver.org/mapcache/";