Point PROTOC to nixpkgs.protobuf pkg in shell.nix (#15931)

This fixes an issue on NixOS where Zed's proto crate fails to build.
Cargo expects to find protoc in the Cargo registry, but due to the
distro's non-standard filesystem this expectation is invalid.

Release Notes:

- N/A
This commit is contained in:
jvmncs authored and GitHub committed 2024-08-07 16:35:49 -04:00
1 parent c582d6bbc7
commit f3195a7f26
1 file changed
+1
+1
View File
@@ -52,5 +52,6 @@ else
"assets/fonts/zed-sans"
];
};
PROTOC = "${pkgs.protobuf}/bin/protoc";
};
}