nix: Fix nix build failure due to missing protoc (#44412)

This commit is contained in:
Cameron Mcloughlin 2025-12-08 16:08:36 +00:00 committed by GitHub
parent 21439426a0
commit 18421845eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 0 deletions

3
.gitignore vendored
View file

@ -39,3 +39,6 @@ xcuserdata/
# Don't commit any secrets to the repo.
.env
.env.secret.toml
# `nix build` output
/result

View file

@ -177,6 +177,7 @@ let
ZED_UPDATE_EXPLANATION = "Zed has been installed using Nix. Auto-updates have thus been disabled.";
RELEASE_VERSION = version;
LK_CUSTOM_WEBRTC = livekit-libwebrtc;
PROTOC="${protobuf}/bin/protoc";
CARGO_PROFILE = profile;
# need to handle some profiles specially https://github.com/rust-lang/cargo/issues/11053