Skip to content

Commit

Permalink
Point PROTOC to nixpkgs.protobuf pkg in shell.nix (zed-industries#15931)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
jvmncs authored Aug 7, 2024
1 parent e9ddca1 commit a5961c8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,6 @@ else
"assets/fonts/zed-sans"
];
};
PROTOC = "${pkgs.protobuf}/bin/protoc";
};
}

0 comments on commit a5961c8

Please sign in to comment.