From 1acf50ad688ae6771fa701008756bf092d588243 Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Sun, 24 Nov 2024 16:16:31 -0800 Subject: [PATCH] fix: add protoc to shell.nix --- shell.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/shell.nix b/shell.nix index 9ab30a435a..c6bcefb567 100644 --- a/shell.nix +++ b/shell.nix @@ -36,6 +36,7 @@ in # Libraries openssl + protobuf # Autocomplete bashInteractive @@ -66,6 +67,10 @@ in shellHook = '' # Setup Git LFS git lfs install --manual > /dev/null + + # See https://docs.rs/prost-build/0.8.0/prost_build/#sourcing-protoc + export PROTOC="${pkgs.protobuf}/bin/protoc" + export PROTOC_INCLUDE="${pkgs.protobuf}/include" # Install autocomplete source ${pkgs.bash-completion}/share/bash-completion/bash_completion