mapcache: fix build on linux

This commit is contained in:
Kirill Radzikhovskyy 2023-07-09 14:15:48 +10:00
parent 0b96c283a4
commit a1ea146f5b

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";