diff options
author | Weijia Wang <9713184+wegank@users.noreply.github.com> | 2023-07-15 10:18:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-15 10:18:18 +0200 |
commit | 62f2aff7a1ec8bf0e102f144e67dc1e482067337 (patch) | |
tree | 6af7b6630148d3fa71e26028c5807b09fb768f2d /pkgs | |
parent | 2534a7ff3c87439e8a775e4b3fdb440eb38fc2b0 (diff) | |
parent | a1ea146f5b5846b0c4bb40d819f09246dadce8f1 (diff) |
Merge pull request #242411 from kirillrdy/mapcache
mapcache: fix build on linux
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/servers/geospatial/mapcache/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/geospatial/mapcache/default.nix b/pkgs/servers/geospatial/mapcache/default.nix index e9ac6e834979e..e4326e920ced9 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"; |