Skip to content

Commit

Permalink
fix: add protoc to shell.nix
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Nov 25, 2024
1 parent a9353bf commit f4519fa
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ in

# Libraries
openssl
protobuf

# Autocomplete
bashInteractive
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f4519fa

Please sign in to comment.