Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: dnst 0 -> 1
attrpath: dnst
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/fixnkjhkdj8a8b4br3mb8w27nadr1cgp-packages.json.drv
building '/nix/store/fixnkjhkdj8a8b4br3mb8w27nadr1cgp-packages.json.drv'...
Going to be running update for following packages:
- dnst-0.2.0-alpha3
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- dnst-0.2.0-alpha3: UPDATING ...
- dnst-0.2.0-alpha3: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/dn/dnst/package.nix b/pkgs/by-name/dn/dnst/package.nix
index 099b7647a114..43f56caeaa3a 100644
--- a/pkgs/by-name/dn/dnst/package.nix
+++ b/pkgs/by-name/dn/dnst/package.nix
@@ -10,14 +10,14 @@
}:
rustPlatform.buildRustPackage (finalAttrs: {
pname = "dnst";
- version = "0.2.0-alpha3";
+ version = "0.3.0-alpha";
__structuredAttrs = true;
src = fetchFromGitHub {
owner = "NLnetLabs";
repo = "dnst";
tag = "v${finalAttrs.version}";
- hash = "sha256-6Sgj2OZptG/bMsuYdGfaaY62qh4uUyxdbit6vpWWm9w=";
+ hash = "sha256-rXrjHxUJI+D6lLCAVEGr4OGE60eKhxvVe56YV0TFqM8=";
};
nativeBuildInputs = [
@@ -27,7 +27,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
];
buildInputs = [ openssl ];
- cargoHash = "sha256-8pzf4GeBJbqIZf6KAqROEAvFAqtf6XLODWhS3RVfpAQ=";
+ cargoHash = "sha256-70F8vajZSLkBS1YWFVSXhPwYGM1WHYUaGps4fhtRYkk=";
postInstall = ''
mkdir -p $out/libexec
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: `07c33ad492233cb422b0acb74db58c4d9b6a177e`
---
### `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 dnst is: Toolset to assist DNS operators with zone and nameserver maintenance
meta.homepage for dnst is: https://nlnetlabs.nl/projects/domain/dnst/
meta.changelog for dnst is: https://github.com/NLnetLabs/dnst/blob/v0.3.0-alpha/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.0-alpha with grep in /nix/store/sk0350ayh2w07c5yyvc9dffag6d6xmjr-dnst-0.3.0-alpha
- found 0.3.0-alpha in filename of file in /nix/store/sk0350ayh2w07c5yyvc9dffag6d6xmjr-dnst-0.3.0-alpha
---
Rebuild report (if merged into master) (click to expand)
```
18 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
dnst
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/sk0350ayh2w07c5yyvc9dffag6d6xmjr-dnst-0.3.0-alpha \
--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 dnst https://github.com/r-ryantm/nixpkgs/archive/07c33ad492233cb422b0acb74db58c4d9b6a177e.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/07c33ad492233cb422b0acb74db58c4d9b6a177e#dnst
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/sk0350ayh2w07c5yyvc9dffag6d6xmjr-dnst-0.3.0-alpha
ls -la /nix/store/sk0350ayh2w07c5yyvc9dffag6d6xmjr-dnst-0.3.0-alpha/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: `07c33ad492233cb422b0acb74db58c4d9b6a177e`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @Skyb0rg007 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/586370