From 51faf4a1cd8965bf014660a63cc6c18e3e39c5cb Mon Sep 17 00:00:00 2001 From: Marek Fajkus Date: Tue, 17 Sep 2024 22:28:52 +0200 Subject: [PATCH] Add missing cmake dependency to Nix build (#17968) 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 --- nix/build.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/build.nix b/nix/build.nix index cd000e9e9189699f26f6c2988bf39b5d2cd6d7c3..4782c9a56fda2139215e8edaee098cbec992aac4 100644 --- a/nix/build.nix +++ b/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 = [