From 18421845eb7d39d416e374c05aff8500f1a4308d Mon Sep 17 00:00:00 2001 From: Cameron Mcloughlin Date: Mon, 8 Dec 2025 16:08:36 +0000 Subject: [PATCH] nix: Fix nix build failure due to missing `protoc` (#44412) --- .gitignore | 3 +++ nix/build.nix | 1 + 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 2a91a65b6eaef906681bf3f6e315de07b094c4b1..ccf4f471d5a7b70be0dc8d619ac64050dd6681ec 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,6 @@ xcuserdata/ # Don't commit any secrets to the repo. .env .env.secret.toml + +# `nix build` output +/result diff --git a/nix/build.nix b/nix/build.nix index 9012a47c1fa1a1874ec4283bb73eae96087d4529..484049a421f8de839fc157a45795637a12bd23b4 100644 --- a/nix/build.nix +++ b/nix/build.nix @@ -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