about 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.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/servers/foundationdb/cmake.nix b/pkgs/servers/foundationdb/cmake.nix
index 436f0a7fc4d17..cdf8267c6abf2 100644
--- a/pkgs/servers/foundationdb/cmake.nix
+++ b/pkgs/servers/foundationdb/cmake.nix
@@ -60,7 +60,7 @@ let
             (lib.optionalString (!useClang) "-DUSE_LD=GOLD")
           ];
 
-        NIX_CFLAGS_COMPILE = [
+        env.NIX_CFLAGS_COMPILE = toString [
           # Needed with GCC 12
           "-Wno-error=missing-template-keyword"
         ];