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 2024-08-07 16:35:49 -04:00 committed by GitHub
parent e9ddca1075
commit a5961c8d45
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -52,5 +52,6 @@ else
"assets/fonts/zed-sans"
];
};
PROTOC = "${pkgs.protobuf}/bin/protoc";
};
}