nsc 2.8.5 -> 2.8.6 https://github.com/nats-io/nsc/releases attrpath: nsc Checking auto update branch... No auto update branch exists [version] [version] generic version rewriter does not support multiple hashes [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Found old vendorHash = "sha256-B3uIFJaEsj9tpjPBiU+rXVlfcgVwZUQe3VSSoZQqBG8=" [golangModuleVersion] Replaced vendorHash with sha256-M/wM03SumQUAVmBM+oyQ0KpqyB741Zl5LuSmNnJ9bxg= [golangModuleVersion] Finished updating vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] skipping because derivation has no updateScript Diff after rewrites: diff --git a/pkgs/tools/system/nsc/default.nix b/pkgs/tools/system/nsc/default.nix index bec4a3114102..8e902f7c8ab5 100644 --- a/pkgs/tools/system/nsc/default.nix +++ b/pkgs/tools/system/nsc/default.nix @@ -7,13 +7,13 @@ buildGoModule rec { pname = "nsc"; - version = "2.8.5"; + version = "2.8.6"; src = fetchFromGitHub { owner = "nats-io"; repo = pname; rev = "v${version}"; - hash = "sha256-9qsHZTbK2RCDiQ5wlo2D79GeI5dbCvL2LofPnF7f8Cc="; + hash = "sha256-t8THHXv1/u5qf0QcLQAu4fMMRiGJ+gG9Huu2NkfMIyQ="; }; ldflags = [ @@ -23,7 +23,7 @@ buildGoModule rec { "-X main.builtBy=nixpkgs" ]; - vendorHash = "sha256-B3uIFJaEsj9tpjPBiU+rXVlfcgVwZUQe3VSSoZQqBG8="; + vendorHash = "sha256-M/wM03SumQUAVmBM+oyQ0KpqyB741Zl5LuSmNnJ9bxg="; nativeBuildInputs = [ installShellFiles ]; @@ -44,7 +44,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.8.5.drv-0/nsc_test2000598938/keys + # /private/tmp/nix-build-nsc-2.8.6.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. Successfully finished processing cachix "/nix/store/r1vgwcs3v8bc7zg9fqg3rvb8a81y7v02-nsc-2.8.6" Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 4 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 4 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 4 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 5 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6 Waiting for OfBorg: https://events.ofborg.org/stats.php's evaluator.messages.waiting = 6 [check][nixpkgs-review] Result of `nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }'` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/ryantm/nixpkgs-update) tools. This update was made based on information from https://github.com/nats-io/nsc/releases. meta.description for nsc is: A tool for creating NATS account and user access configurations meta.homepage for nsc is: https://github.com/nats-io/nsc ###### Updates performed - Golang update ###### To inspect upstream changes - [Release on GitHub](https://github.com/nats-io/nsc/releases/tag/v2.8.6) - [Compare changes on GitHub](https://github.com/nats-io/nsc/compare/v2.8.5...v2.8.6) ###### Impact Checks done --- - built on NixOS - The tests defined in `passthru.tests`, if any, passed - found 2.8.6 with grep in /nix/store/r1vgwcs3v8bc7zg9fqg3rvb8a81y7v02-nsc-2.8.6 - found 2.8.6 in filename of file in /nix/store/r1vgwcs3v8bc7zg9fqg3rvb8a81y7v02-nsc-2.8.6 ---
Rebuild report (if merged into master) (click to expand) ``` 1 total rebuild path(s) 1 package rebuild(s) First fifty rebuilds by attrpath nsc ```
Instructions to test this update (click to expand) --- Either **download from Cachix**: ``` nix-store -r /nix/store/r1vgwcs3v8bc7zg9fqg3rvb8a81y7v02-nsc-2.8.6 \ --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \ --option trusted-public-keys ' nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ' ``` (The Cachix cache is only trusted for this store-path realization.) For the Cachix download to work, your user must be in the `trusted-users` list or you can use `sudo` since root is effectively trusted. Or, **build yourself**: ``` nix-build -A nsc https://github.com/r-ryantm/nixpkgs/archive/1993348de9f0d922bb015d7187d61fc3362b2da8.tar.gz ``` Or: ``` nix build github:r-ryantm/nixpkgs/1993348de9f0d922bb015d7187d61fc3362b2da8#nsc ``` After you've downloaded or built it, look at the files and if there are any, run the binaries: ``` ls -la /nix/store/r1vgwcs3v8bc7zg9fqg3rvb8a81y7v02-nsc-2.8.6 ls -la /nix/store/r1vgwcs3v8bc7zg9fqg3rvb8a81y7v02-nsc-2.8.6/bin ``` ---

### Pre-merge build results We have automatically built all packages that will get rebuilt due to this change. This gives evidence on whether the upgrade will break dependent packages. Note sometimes packages show up as _failed to build_ independent of the change, simply because they are already broken on the target branch. Result of `nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }'` run on x86_64-linux [1](https://github.com/Mic92/nixpkgs-review)
1 package built:
--- ###### Maintainer pings cc @cbrewster for [testing](https://github.com/ryantm/nixpkgs-update/blob/master/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do). https://api.github.com/repos/NixOS/nixpkgs/pulls/294175