Add missing cmake dependency to Nix build (#17968)
Some checks are pending
CI / Check formatting and spelling (push) Waiting to run
CI / (macOS) Run Clippy and tests (push) Waiting to run
CI / (Linux) Run Clippy and tests (push) Waiting to run
CI / (Windows) Run Clippy and tests (push) Waiting to run
CI / Create a macOS bundle (push) Blocked by required conditions
CI / Create a Linux bundle (push) Blocked by required conditions
CI / Create arm64 Linux bundle (push) Blocked by required conditions
Deploy Docs / Deploy Docs (push) Waiting to run
Docs / Check formatting (push) Waiting to run

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
This commit is contained in:
Marek Fajkus 2024-09-17 22:28:52 +02:00 committed by GitHub
parent bdca342cdc
commit 51faf4a1cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 = [