opentelemetry-collector-contrib: fix darwin builds (#362159)

This commit is contained in:
misuzu
2024-12-05 22:23:42 +02:00
committed by GitHub
@@ -81,6 +81,7 @@ let
name,
sourceHash,
vendorHash,
proxyVendor ? false,
}:
let
package = buildGoModule {
@@ -92,7 +93,7 @@ let
hash = sourceHash;
};
inherit vendorHash;
inherit proxyVendor vendorHash;
nativeBuildInputs = [ installShellFiles ];
@@ -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 {