Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: surge-downloader 0.12.2 -> 0.12.4 https://github.com/SurgeDM/Surge/releases
attrpath: surge-downloader
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/qjp58lq70db46mnmkz505faqfj25yrbq-packages.json.drv
building '/nix/store/qjp58lq70db46mnmkz505faqfj25yrbq-packages.json.drv'...
structuredAttrs is enabled
Going to be running update for following packages:
- surge-downloader-0.12.2
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- surge-downloader-0.12.2: UPDATING ...
- surge-downloader-0.12.2: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/su/surge-downloader/package.nix b/pkgs/by-name/su/surge-downloader/package.nix
index 30162cfe1493..1e125632edac 100644
--- a/pkgs/by-name/su/surge-downloader/package.nix
+++ b/pkgs/by-name/su/surge-downloader/package.nix
@@ -8,16 +8,16 @@
}:
buildGoModule (finalAttrs: {
pname = "surge-downloader";
- version = "0.12.2";
+ version = "0.12.4";
src = fetchFromGitHub {
owner = "SurgeDM";
repo = "Surge";
tag = "v${finalAttrs.version}";
- hash = "sha256-LojzHquVeXAI8/k5qYSdGExWw/Y6sgVRNjNagRot5gY=";
+ hash = "sha256-/i6MBfi0Btl32Wz3iVU9QjTf7Y3xOodiXJ6Ix/dcCQU=";
};
- vendorHash = "sha256-Z1eNKci0MzXvKs49kOEYXr/JEO7AJB9kHdFTyNbxkw4=";
+ vendorHash = "sha256-+L0Pq4+d5rgVsoV17991TWkloEFg7ohde6UCpl0NBlY=";
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: `4d418f2d782fc3d74e1e5fc86451db87f361ee1a`
---
### `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 surge-downloader is: TUI download manager
meta.homepage for surge-downloader is: https://github.com/SurgeDM/Surge
meta.changelog for surge-downloader is: https://github.com/SurgeDM/Surge/releases/tag/v0.12.4
###### 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.12.4 with grep in /nix/store/fa8drpmppvji3kaj46gy6nfjf20jpc4h-surge-downloader-0.12.4
- found 0.12.4 in filename of file in /nix/store/fa8drpmppvji3kaj46gy6nfjf20jpc4h-surge-downloader-0.12.4
---
Rebuild report (if merged into master) (click to expand)
```
15 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
surge-downloader
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/fa8drpmppvji3kaj46gy6nfjf20jpc4h-surge-downloader-0.12.4 \
--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 surge-downloader https://github.com/r-ryantm/nixpkgs/archive/4d418f2d782fc3d74e1e5fc86451db87f361ee1a.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/4d418f2d782fc3d74e1e5fc86451db87f361ee1a#surge-downloader
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/fa8drpmppvji3kaj46gy6nfjf20jpc4h-surge-downloader-0.12.4
ls -la /nix/store/fa8drpmppvji3kaj46gy6nfjf20jpc4h-surge-downloader-0.12.4/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: `4d418f2d782fc3d74e1e5fc86451db87f361ee1a`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @ErmitaVulpe 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/582533