Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: amazon-cloudwatch-agent 0 -> 1
attrpath: amazon-cloudwatch-agent
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/zv8f98dhc9kmbix3dfz57yn5gchbm06q-packages.json.drv
building '/nix/store/zv8f98dhc9kmbix3dfz57yn5gchbm06q-packages.json.drv'...
Going to be running update for following packages:
- amazon-cloudwatch-agent-1.300071.0
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- amazon-cloudwatch-agent-1.300071.0: UPDATING ...
- amazon-cloudwatch-agent-1.300071.0: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix b/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix
index 59e656efca05..7e7b9386062a 100644
--- a/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix
+++ b/pkgs/by-name/am/amazon-cloudwatch-agent/package.nix
@@ -11,17 +11,17 @@
buildGoModule (finalAttrs: {
pname = "amazon-cloudwatch-agent";
- version = "1.300071.0";
+ version = "1.300072.0";
src = fetchFromGitHub {
owner = "aws";
repo = "amazon-cloudwatch-agent";
tag = "v${finalAttrs.version}";
- hash = "sha256-YFAOz1NxE5A8fCcdom1EyV5sfBPfPQziMUtk98nauKU=";
+ hash = "sha256-cvfmt1FW+mqHNXLWcZZLQvX+M7OkO1Bc+5R6vVzaKeg=";
};
proxyVendor = true; # darwin/linux hash mismatch
- vendorHash = "sha256-PuRr7Glyr3t4o9SH5B1c9vbxQ/jnRMrOPgl2QkOHYCI=";
+ vendorHash = "sha256-ve69C8ivYM3WrjTcTjKXOqA/rDC86Uw6x7nuhcdvobI=";
# See the list in https://github.com/aws/amazon-cloudwatch-agent/blob/v1.300049.1/Makefile#L68-L77.
subPackages = [
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: `96e8972c6a18b40147ca1f6be59ff3df84c880e8`
---
### `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 amazon-cloudwatch-agent is: CloudWatch Agent enables you to collect and export host-level metrics and logs on instances running Linux or Windows server
meta.homepage for amazon-cloudwatch-agent is: https://github.com/aws/amazon-cloudwatch-agent
###### Updates performed
- Ran passthru.UpdateScript
###### To inspect upstream changes
###### Impact
Checks done
---
- built on NixOS
- The tests defined in `passthru.tests`, if any, passed
- found 1.300072.0 with grep in /nix/store/s96crgb0mhbx65s6fplf3hacj6prinlm-amazon-cloudwatch-agent-1.300072.0
- found 1.300072.0 in filename of file in /nix/store/s96crgb0mhbx65s6fplf3hacj6prinlm-amazon-cloudwatch-agent-1.300072.0
---
Rebuild report (if merged into master) (click to expand)
```
8 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
amazon-cloudwatch-agent
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/s96crgb0mhbx65s6fplf3hacj6prinlm-amazon-cloudwatch-agent-1.300072.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 amazon-cloudwatch-agent https://github.com/r-ryantm/nixpkgs/archive/96e8972c6a18b40147ca1f6be59ff3df84c880e8.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/96e8972c6a18b40147ca1f6be59ff3df84c880e8#amazon-cloudwatch-agent
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/s96crgb0mhbx65s6fplf3hacj6prinlm-amazon-cloudwatch-agent-1.300072.0
ls -la /nix/store/s96crgb0mhbx65s6fplf3hacj6prinlm-amazon-cloudwatch-agent-1.300072.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: `96e8972c6a18b40147ca1f6be59ff3df84c880e8`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @philipmw 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/554315