mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
protobuf: ensure matching version in buildPackages (#206564)
Co-authored-by: digital <git-voopaipa@dinid.net>
This commit is contained in:
parent
77822a6afa
commit
9956f66315
@ -22152,7 +22152,11 @@ with pkgs;
|
||||
prospector = callPackage ../development/tools/prospector { };
|
||||
|
||||
# https://github.com/protocolbuffers/protobuf/issues/10418
|
||||
protobuf = if stdenv.hostPlatform.is32bit then protobuf3_20 else
|
||||
# protobuf versions have to match between build-time and run-time
|
||||
# Using "targetPlatform" in the check makes sure that the version of
|
||||
# pkgsCross.armv7l-hf-multiplatform.buildPackages.protobuf matches the
|
||||
# version of pkgsCross.armv7l-hf-multiplatform.protobuf
|
||||
protobuf = if stdenv.targetPlatform.is32bit then protobuf3_20 else
|
||||
protobuf3_21;
|
||||
|
||||
protobuf3_21 = callPackage ../development/libraries/protobuf/3.21.nix { };
|
||||
|
Loading…
Reference in New Issue
Block a user