about summary refs log tree commit diff
path: root/pkgs/by-name/ma/mapcache/package.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/by-name/ma/mapcache/package.nix')
-rw-r--r--pkgs/by-name/ma/mapcache/package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/by-name/ma/mapcache/package.nix b/pkgs/by-name/ma/mapcache/package.nix
index e0859a91a2fe..5d38ce3f0362 100644
--- a/pkgs/by-name/ma/mapcache/package.nix
+++ b/pkgs/by-name/ma/mapcache/package.nix
@@ -68,7 +68,7 @@ stdenv.mkDerivation rec {
     (lib.cmakeFeature "APACHE_MODULE_DIR" "${placeholder "out"}/modules")
   ];
 
-  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.isDarwin "-std=c99";
+  env.NIX_CFLAGS_COMPILE = lib.optionalString stdenv.hostPlatform.isDarwin "-std=c99";
 
   meta = {
     description = "Server that implements tile caching to speed up access to WMS layers";