Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: chirpstack-rest-api 0 -> 1
attrpath: chirpstack-rest-api
Checking auto update branch...
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] No cargoHash found
[golangModuleVersion]
[golangModuleVersion] skipping because derivation has updateScript
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/yhwfzx3l5dxicfiyf5dagn937v1mhg1z-packages.json.drv
building '/nix/store/yhwfzx3l5dxicfiyf5dagn937v1mhg1z-packages.json.drv'...
Going to be running update for following packages:
- chirpstack-rest-api-4.16.1
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- chirpstack-rest-api-4.16.1: UPDATING ...
- chirpstack-rest-api-4.16.1: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/ch/chirpstack-rest-api/package.nix b/pkgs/by-name/ch/chirpstack-rest-api/package.nix
index 5f4157fdea59..7cef8d846206 100644
--- a/pkgs/by-name/ch/chirpstack-rest-api/package.nix
+++ b/pkgs/by-name/ch/chirpstack-rest-api/package.nix
@@ -6,16 +6,16 @@
}:
buildGoModule (finalAttrs: {
pname = "chirpstack-rest-api";
- version = "4.16.1";
+ version = "4.18.0";
src = fetchFromGitHub {
owner = "chirpstack";
repo = "chirpstack-rest-api";
rev = "v${finalAttrs.version}";
- hash = "sha256-utXayqQGlBYzmf7xW+s1Fh4oRhpBdfnV5g73X2ILKko=";
+ hash = "sha256-d8DoU5iqBtWLu8I0xzM8+ny16iylAbjRku7EC1m0o50=";
};
- vendorHash = "sha256-JnQaClgU+Yyz07lELoEyLYHLJwcmET5SLci2XQoFGKc=";
+ vendorHash = "sha256-b0m3a0U/XgRFR1lvfOUB1yQFZZ9j558WBiymnysjuGg=";
ldflags = [
"-s"
No auto update branch exists
Successfully finished processing
[check][nixpkgs-review]
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `21beaf3ef6048c7c89d8924b5437a2a066835942`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/nix-community/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for chirpstack-rest-api is: gRPC API to REST proxy for Chirpstack
meta.homepage for chirpstack-rest-api is: https://www.chirpstack.io/
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
- [Compare changes on GitHub](https://github.com/chirpstack/chirpstack-rest-api/compare/v4.16.1...v4.18.0)
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 4.18.0 with grep in /nix/store/a0f34pbw8nai0vlvi8k88basls766img-chirpstack-rest-api-4.18.0
- found 4.18.0 in filename of file in /nix/store/a0f34pbw8nai0vlvi8k88basls766img-chirpstack-rest-api-4.18.0
---
Rebuild report (if merged into master) (click to expand)
```
2 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
chirpstack-rest-api
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/a0f34pbw8nai0vlvi8k88basls766img-chirpstack-rest-api-4.18.0 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
'
```
(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached 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 chirpstack-rest-api https://github.com/r-ryantm/nixpkgs/archive/21beaf3ef6048c7c89d8924b5437a2a066835942.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/21beaf3ef6048c7c89d8924b5437a2a066835942#chirpstack-rest-api
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/a0f34pbw8nai0vlvi8k88basls766img-chirpstack-rest-api-4.18.0
ls -la /nix/store/a0f34pbw8nai0vlvi8k88basls766img-chirpstack-rest-api-4.18.0/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.
## `nixpkgs-review` result
Generated using [`nixpkgs-review`](https://github.com/Mic92/nixpkgs-review).
Command: `nixpkgs-review --extra-nixpkgs-config '{ allowBroken = false; }'`
Commit: `21beaf3ef6048c7c89d8924b5437a2a066835942`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @stv0g for [testing](https://github.com/nix-community/nixpkgs-update/blob/main/doc/nixpkgs-maintainer-faq.md#r-ryantm-opened-a-pr-for-my-package-what-do-i-do).
> [!TIP]
> As a maintainer, if your package is located under `pkgs/by-name/*`, you can comment **`@NixOS/nixpkgs-merge-bot merge`** to automatically merge this update using the [`nixpkgs-merge-bot`](https://github.com/NixOS/nixpkgs/blob/master/ci/README.md#nixpkgs-merge-bot).
https://api.github.com/repos/NixOS/nixpkgs/pulls/519680