about summary refs log tree commit diff
diff options
context:
space:
mode:
authoremattiza <emattiza@gmail.com>2023-05-27 19:34:46 -0500
committeremattiza <emattiza@gmail.com>2023-06-26 16:16:59 -0500
commitaab01f1797fb67b64dbbc9651e9d4be63120c048 (patch)
treed2ecc56d390ff4a2f2a70e83c6e6892fe0b2e3a2
parent73960c65867d2529702275e170b7ef3b2068bd3d (diff)
update: otel-cli 0.2.0 -> 0.3.0
updates otel-cli from 0.2.0 to 0.3.0
see https://github.com/equinix-labs/otel-cli/releases/tag/v0.3.0
for changelog and release details
-rw-r--r--pkgs/tools/misc/otel-cli/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/tools/misc/otel-cli/default.nix b/pkgs/tools/misc/otel-cli/default.nix
index b9efcd2502860..992dd9c71d165 100644
--- a/pkgs/tools/misc/otel-cli/default.nix
+++ b/pkgs/tools/misc/otel-cli/default.nix
@@ -1,23 +1,23 @@
-{ lib, bash, buildGoModule, fetchFromGitHub, getent, nix-update-script, stdenv }:
+{ lib, bash, buildGoModule, fetchFromGitHub, getent, coreutils, nix-update-script, stdenv }:
 
 buildGoModule rec {
   pname = "otel-cli";
-  version = "0.2.0";
+  version = "0.3.0";
 
   src = fetchFromGitHub {
     owner = "equinix-labs";
     repo = pname;
     rev = "v${version}";
-    hash = "sha256-hez/jHet7W4FnOjgLb0jE1FhoNimiLGaOuTI44UWbSA=";
+    hash = "sha256-edxDPxUamZiBezMj2SII/zq8atnyZVWtboUJsShDAyw=";
   };
 
-  vendorHash = "sha256-gVRgqBgiFnPU6MRZi/Igs7nDPMwJYsdln7vPAcxTvPU=";
+  vendorHash = "sha256-MlLFTi+O925NA73zDRrk0AgJzwtdNBhCxDjmniNPwio=";
 
   preCheck = ''
     ln -s $GOPATH/bin/otel-cli .
   '' + lib.optionalString (!stdenv.isDarwin) ''
     substituteInPlace main_test.go \
-      --replace 'const minimumPath = `/bin:/usr/bin`' 'const minimumPath = `${lib.makeBinPath [ getent ]}`'
+      --replace 'const minimumPath = `/bin:/usr/bin`' 'const minimumPath = `${lib.makeBinPath [ getent coreutils ]}`'
   '';
 
   passthru.updateScript = nix-update-script {};