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 bc0a17166631..287809a451d7 100644
--- a/pkgs/servers/foundationdb/cmake.nix
+++ b/pkgs/servers/foundationdb/cmake.nix
@@ -81,7 +81,7 @@ let
           # Needed with GCC 12
           "-Wno-error=missing-template-keyword"
           # Needed to compile on aarch64
-          (lib.optionalString stdenv.isAarch64 "-march=armv8-a+crc")
+          (lib.optionalString stdenv.hostPlatform.isAarch64 "-march=armv8-a+crc")
         ];
 
         inherit patches;