protols: fix well-known types/imports support

Use a new feature of protols-0.13.1 to set a fallback well-known *.proto
files path to protobuf's include directory.
This commit is contained in:
Michal Trybus
2025-12-05 16:09:23 +01:00
parent 2c0202389d
commit efd21ac08b
+3
View File
@@ -1,5 +1,6 @@
{
lib,
protobuf,
rustPlatform,
fetchFromGitHub,
}:
@@ -17,6 +18,8 @@ rustPlatform.buildRustPackage rec {
cargoHash = "sha256-q3GMizdBupQSMVCuRqLjuw0Mof1q3UYOdUBugmrTDMU=";
env.FALLBACK_INCLUDE_PATH = "${protobuf}/include";
meta = {
description = "Protocol Buffers language server written in Rust";
homepage = "https://github.com/coder3101/protols";