Add missing cmake dependency to Nix build (#17968)

Marek Fajkus created

cmake is required during build of dependecies and thus needs to be
supplied in nativeBuildInputs (dependecies required for build not during
runtime).

This fixes (sandboxed) nix builds of the project.

Release Notes:

- N/A

Change summary

nix/build.nix | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

nix/build.nix 🔗

@@ -28,6 +28,7 @@
   stdenvAdapters,
   nix-gitignore,
   withGLES ? false,
+  cmake,
 }: let
   includeFilter = path: type: let
     baseName = baseNameOf (toString path);
@@ -58,6 +59,7 @@
         pkg-config
         protobuf
         rustPlatform.bindgenHook
+        cmake
       ];
 
       buildInputs = [