Skip to content

default-crate-overrides: prost-build needs protobuf#189026

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

default-crate-overrides: prost-build needs protobuf#189026
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Aug 30, 2022

Description of changes

The prost-build crate expects to find the protobuf binary at a location pointed to by $PROTOC. This adds that.

Things done
  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@github-actions github-actions bot added the 6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. label Aug 30, 2022
@ofborg ofborg bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Aug 30, 2022
@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 2, 2023

Resolved merge conflict.

@alyssais alyssais added the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 13, 2023
@ghost
Copy link
Copy Markdown
Author

ghost commented Jan 22, 2023

Resolved merge conflict.

@ofborg ofborg bot removed the 2.status: merge conflict This PR has merge conflicts with the target branch label Jan 22, 2023

prost-build = attrs: {
nativeBuildInputs = [ protobuf ];
PROTOC = "${lib.getBin protobuf}/bin/protoc";
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
PROTOC = "${lib.getBin protobuf}/bin/protoc";
PROTOC = lib.getExe buildPackages.protobuf;

@Artturin
Copy link
Copy Markdown
Member

#224892

@Artturin Artturin closed this Apr 22, 2023
@ghost ghost deleted the pr/default-crate-overrides/prost-build branch April 24, 2023 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: rust General-purpose programming language emphasizing performance, type safety, and concurrency. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants