Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: cargo-cooldown 0.3.4 -> 0.3.5 https://github.com/dertin/cargo-cooldown/releases
attrpath: cargo-cooldown
Checking auto update branch...
[version]
[version] generic version rewriter does not support multiple hashes
[rustCrateVersion]
[rustCrateVersion] skipping because derivation has updateScript
[golangModuleVersion]
[golangModuleVersion] Not a buildGoModule package with vendorHash
[npmDepsVersion]
[npmDepsVersion] No npmDepsHash
[updateScript]
[updateScript] Success
[updateScript] this derivation will be built:
/nix/store/7crdsbwc11imqxbmwqy52lq9vj1l5v7v-packages.json.drv
building '/nix/store/7crdsbwc11imqxbmwqy52lq9vj1l5v7v-packages.json.drv'...
structuredAttrs is enabled
Going to be running update for following packages:
- cargo-cooldown-0.3.4
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- cargo-cooldown-0.3.4: UPDATING ...
- cargo-cooldown-0.3.4: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/ca/cargo-cooldown/package.nix b/pkgs/by-name/ca/cargo-cooldown/package.nix
index 0787cd3e02fc..7c26e484a94a 100644
--- a/pkgs/by-name/ca/cargo-cooldown/package.nix
+++ b/pkgs/by-name/ca/cargo-cooldown/package.nix
@@ -7,15 +7,15 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "cargo-cooldown";
- version = "0.3.4";
+ version = "0.3.5";
__structuredAttrs = true;
src = fetchCrate {
inherit (finalAttrs) pname version;
- hash = "sha256-OpNrly+mSX/cYstewi/IbYOM/H5kQxu4U41Bqtnlu1c=";
+ hash = "sha256-knBFIncQzePHA4ByxJ1f32OemUGRJTpFyW7VPPs7S6M=";
};
- cargoHash = "sha256-MQUr/twr2vbLgGhPavrVtnBbT4N5O0c2XFwL9+FGdqE=";
+ cargoHash = "sha256-8NzNpnYRxnTDo7AUxEK7zBAoZcktMxM/8EqeiFpfBds=";
# Integration tests and some unit tests require network access (crates.io registry) which breaks
# in the Nix sandbox.
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: `697177498c810ca000e540168b6e70f78791d2f7`
---
### `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 cargo-cooldown is: Cargo wrapper that enforces a cooldown window for freshly published registry crates for improved supply chain security
meta.homepage for cargo-cooldown is: https://github.com/dertin/cargo-cooldown
meta.changelog for cargo-cooldown is: https://github.com/dertin/cargo-cooldown/blob/v0.3.5/CHANGELOG.md
###### 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 0.3.5 with grep in /nix/store/7j3c7qpw5h61kyr1r58mmhhi24186g3h-cargo-cooldown-0.3.5
- found 0.3.5 in filename of file in /nix/store/7j3c7qpw5h61kyr1r58mmhhi24186g3h-cargo-cooldown-0.3.5
---
Rebuild report (if merged into master) (click to expand)
```
6 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
cargo-cooldown
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/7j3c7qpw5h61kyr1r58mmhhi24186g3h-cargo-cooldown-0.3.5 \
--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 cargo-cooldown https://github.com/r-ryantm/nixpkgs/archive/697177498c810ca000e540168b6e70f78791d2f7.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/697177498c810ca000e540168b6e70f78791d2f7#cargo-cooldown
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/7j3c7qpw5h61kyr1r58mmhhi24186g3h-cargo-cooldown-0.3.5
ls -la /nix/store/7j3c7qpw5h61kyr1r58mmhhi24186g3h-cargo-cooldown-0.3.5/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: `697177498c810ca000e540168b6e70f78791d2f7`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @bew 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/572444