summary refs log tree commit diff
path: root/pkgs/servers/foundationdb/cmake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/foundationdb/cmake.nix')
-rw-r--r--pkgs/servers/foundationdb/cmake.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/servers/foundationdb/cmake.nix b/pkgs/servers/foundationdb/cmake.nix
index 9d65198c8ce..436f0a7fc4d 100644
--- a/pkgs/servers/foundationdb/cmake.nix
+++ b/pkgs/servers/foundationdb/cmake.nix
@@ -60,6 +60,11 @@ let
             (lib.optionalString (!useClang) "-DUSE_LD=GOLD")
           ];
 
+        NIX_CFLAGS_COMPILE = [
+          # Needed with GCC 12
+          "-Wno-error=missing-template-keyword"
+        ];
+
         inherit patches;
 
         # fix up the use of the very weird and custom 'fdb_install' command by just