diff options
author | 06kellyjac <dev@j-k.io> | 2022-02-25 13:10:40 +0000 |
---|---|---|
committer | 06kellyjac <dev@j-k.io> | 2022-02-25 13:10:40 +0000 |
commit | 46f8c78337c51b188ba9fa4ea48617d433a26144 (patch) | |
tree | 7381362fcaef1610a73a12cb269a6ffa097a90dd /pkgs/tools/misc/opentelemetry-collector/contrib.nix | |
parent | 49186d631fb860859a05fa59b2ed7d38c9ad286c (diff) | |
download | nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.tar nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.tar.gz nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.tar.bz2 nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.tar.lz nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.tar.xz nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.tar.zst nixpkgs-46f8c78337c51b188ba9fa4ea48617d433a26144.zip |
opentelemetry-collector-contrib: 0.44.0 -> 0.45.1
Diffstat (limited to 'pkgs/tools/misc/opentelemetry-collector/contrib.nix')
-rw-r--r-- | pkgs/tools/misc/opentelemetry-collector/contrib.nix | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/pkgs/tools/misc/opentelemetry-collector/contrib.nix b/pkgs/tools/misc/opentelemetry-collector/contrib.nix index ddd21cbab5a..4bfc390335d 100644 --- a/pkgs/tools/misc/opentelemetry-collector/contrib.nix +++ b/pkgs/tools/misc/opentelemetry-collector/contrib.nix @@ -1,24 +1,29 @@ { buildGoModule , fetchFromGitHub , lib +, stdenv }: buildGoModule rec { pname = "opentelemetry-collector-contrib"; - version = "0.44.0"; + version = "0.45.1"; src = fetchFromGitHub { owner = "open-telemetry"; repo = "opentelemetry-collector-contrib"; rev = "v${version}"; - sha256 = "sha256-JRkS51ybFnvCn3pKhDeXO0R23wzT1uso1PtXZllF1fA="; + sha256 = "sha256-HoDQK/WyvDQgYBr6WPJ+bZE3GTx74SGgSj1P6i8AfL0="; }; # proxy vendor to avoid hash missmatches between linux and macOS proxyVendor = true; - vendorSha256 = "sha256-4MnUDakBfo3nhSqMjDYiqx6FNZvAB/9DE1yxOvmQAAk="; + vendorSha256 = "sha256-e33EV1DGpR3XL70sjfCSMeuOSyh334+AkHnE+vqHrh0="; subPackages = [ "cmd/otelcontribcol" ]; + # CGO_ENABLED=0 required for mac - "error: 'TARGET_OS_MAC' is not defined, evaluates to 0" + # https://github.com/shirou/gopsutil/issues/976 + CGO_ENABLED = if stdenv.isLinux then 1 else 0; + ldflags = [ "-s" "-w" |