Commit 614e47f5 authored by R. RyanTM's avatar R. RyanTM
Browse files

nsc: 2.10.2 -> 2.11.0

parent 2bf02093
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@

buildGoModule rec {
  pname = "nsc";
  version = "2.10.2";
  version = "2.11.0";

  src = fetchFromGitHub {
    owner = "nats-io";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-F/9yAF1vXG4eWMmS6l/qWqlEV8YkS7nihHN2vK3JFbE=";
    hash = "sha256-/xfNl91cb82kV2IC/m56p94nb3WLDPU5O+1H+sTZnW4=";
  };

  ldflags = [
@@ -24,7 +24,7 @@ buildGoModule rec {
    "-X main.builtBy=nixpkgs"
  ];

  vendorHash = "sha256-MxkpK3CgQ+eoxGfLRqE3kudyZounDD0+cmzOoiPf1wc=";
  vendorHash = "sha256-Ms+chBbQCo3TGWPgIy4OSXNpxO5jpm1zxEe9upiPmnY=";

  nativeBuildInputs = [ installShellFiles ];

@@ -47,7 +47,7 @@ buildGoModule rec {
  # the test strips table formatting from the command output in a naive way
  # that removes all the table characters, including '-'.
  # The nix build directory looks something like:
  # /private/tmp/nix-build-nsc-2.10.2.drv-0/nsc_test2000598938/keys
  # /private/tmp/nix-build-nsc-2.11.0.drv-0/nsc_test2000598938/keys
  # Then the `-` are removed from the path unintentionally and the test fails.
  # This should be fixed upstream to avoid mangling the path when
  # removing the table decorations from the command output.