Merge pull request #242411 from kirillrdy/mapcache

mapcache: fix build on linux
This commit is contained in:
Weijia Wang 2023-07-15 10:18:18 +02:00 committed by GitHub
commit 62f2aff7a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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