Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: polkadot 0 -> 1
attrpath: polkadot
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/kxyjis80sni8h9bnwiglb0kbyh2v44lx-packages.json.drv
building '/nix/store/kxyjis80sni8h9bnwiglb0kbyh2v44lx-packages.json.drv'...
Going to be running update for following packages:
- polkadot-2609-2
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- polkadot-2609-2: UPDATING ...
- polkadot-2609-2: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/po/polkadot/package.nix b/pkgs/by-name/po/polkadot/package.nix
index 4daa5d37edd5..a1bdf12a9033 100644
--- a/pkgs/by-name/po/polkadot/package.nix
+++ b/pkgs/by-name/po/polkadot/package.nix
@@ -16,13 +16,13 @@
rustPlatform.buildRustPackage (finalAttrs: {
pname = "polkadot";
- version = "2609-2";
+ version = "2611";
src = fetchFromGitHub {
owner = "paritytech";
repo = "polkadot-sdk";
rev = "polkadot-stable${finalAttrs.version}";
- hash = "sha256-kXMJWznzWwneC7h23i3WdFzLRHSP8rwyE5Iox4G3MPk=";
+ hash = "sha256-CFumZMY9XJ3HD6tRb5jfCcvRmmP2Hm0BWPNgBo0I4uw=";
# the build process of polkadot requires a .git folder in order to determine
# the git commit hash that is being built and add it to the version string.
@@ -43,7 +43,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
rm .git_commit
'';
- cargoHash = "sha256-Ia4AN9XamXvBEN3q7LZASoPAD7dhnhgz2Sl8Swmmmo8=";
+ cargoHash = "sha256-8tzcCbo0J8vE+5+ZJ/peuqiqXBK+puhVvncWksNg50M=";
buildType = "production";
buildAndTestSubdir = "polkadot";
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: `8568edaaa5f2e44cb0666d49511e0b236ab2bec5`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
Automatic update generated by [nixpkgs-update](https://github.com/NixOS/nixpkgs-update) tools. This update was made based on information from passthru.updateScript.
meta.description for polkadot is: Implementation of a https://polkadot.network node in Rust based on the Substrate framework
meta.homepage for polkadot is: https://github.com/paritytech/polkadot-sdk
###### 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 2611 with grep in /nix/store/4b6bpbpmhjz4bjlz0v5wl30clds1div6-polkadot-2611
- found 2611 in filename of file in /nix/store/4b6bpbpmhjz4bjlz0v5wl30clds1div6-polkadot-2611
---
Rebuild report (if merged into master) (click to expand)
```
20 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
polkadot
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/4b6bpbpmhjz4bjlz0v5wl30clds1div6-polkadot-2611 \
--option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nixos.org/' \
--option trusted-public-keys '
nixpkgs-update-cache.nixos.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 polkadot https://github.com/r-ryantm/nixpkgs/archive/8568edaaa5f2e44cb0666d49511e0b236ab2bec5.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/8568edaaa5f2e44cb0666d49511e0b236ab2bec5#polkadot
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/4b6bpbpmhjz4bjlz0v5wl30clds1div6-polkadot-2611
ls -la /nix/store/4b6bpbpmhjz4bjlz0v5wl30clds1div6-polkadot-2611/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: `8568edaaa5f2e44cb0666d49511e0b236ab2bec5`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @akru @andresilva @FlorianFranzen @RaghavSood for [testing](https://github.com/NixOS/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/596438