From a1ea146f5b5846b0c4bb40d819f09246dadce8f1 Mon Sep 17 00:00:00 2001 From: Kirill Radzikhovskyy Date: Sun, 9 Jul 2023 14:15:48 +1000 Subject: mapcache: fix build on linux --- pkgs/servers/geospatial/mapcache/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/servers/geospatial/mapcache/default.nix b/pkgs/servers/geospatial/mapcache/default.nix index e9ac6e83497..e4326e920ce 100644 --- a/pkgs/servers/geospatial/mapcache/default.nix +++ b/pkgs/servers/geospatial/mapcache/default.nix @@ -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"; -- cgit 1.4.1