mapcache: fix build on linux

This commit is contained in:
Kirill Radzikhovskyy
2023-07-14 06:07:32 +10:00
parent 0b96c283a4
commit a1ea146f5b
+1 -1
View File
@@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
"-DAPACHE_MODULE_DIR=${placeholder "out"}/modules"
];
env.NIX_CFLAGS_COMPILE = "-std=c99";
env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-std=c99";
meta = with lib; {
description = "A server that implements tile caching to speed up access to WMS layers";