opentelemetry-collector-contrib: fix darwin build

This commit is contained in:
Sander 2024-12-05 20:01:11 +04:00
parent 12f623110b
commit 17ddfd8ca1
No known key found for this signature in database
GPG Key ID: D1A763BC84F34603

View File

@ -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 {