Skip to content

Commit

Permalink
opentelemetry-collector-contrib: fix darwin builds (#362159)
Browse files Browse the repository at this point in the history
  • Loading branch information
misuzu authored Dec 5, 2024
2 parents 9bb136e + 17ddfd8 commit 7cb3aa3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pkgs/tools/misc/opentelemetry-collector/releases.nix
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ let
name,
sourceHash,
vendorHash,
proxyVendor ? false,
}:
let
package = buildGoModule {
Expand All @@ -92,7 +93,7 @@ let
hash = sourceHash;
};

inherit vendorHash;
inherit proxyVendor vendorHash;

nativeBuildInputs = [ installShellFiles ];

Expand Down Expand Up @@ -155,7 +156,8 @@ lib.recurseIntoAttrs {
otelcol-contrib = mkDistribution {
name = "otelcol-contrib";
sourceHash = "sha256-1TIzfR9F6iwSwoDc08SdOWYH378Y3qjwOcQ4IDbHTWE=";
vendorHash = "sha256-KObLO3bXqGL1WSTKbJjg+hYJ9sYU4rn9gC/o38U1XJI=";
vendorHash = "sha256-AmSn2M+HkOpZ0ev6Gjb+gaeE+h70W/RtXKMqaModJPs=";
proxyVendor = true; # hash mismatch between linux and darwin
};

otelcol-k8s = mkDistribution {
Expand Down

0 comments on commit 7cb3aa3

Please sign in to comment.