Running nixpkgs-update (https://github.com/NixOS/infra/blob/main/non-critical-infra/modules/nixpkgs-update/README.md) with UPDATE_INFO: stalwart_1 1.2.0 -> 1.2.1 https://github.com/stalwartlabs/stalwart/releases
attrpath: stalwart_1
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/89rzwfnwvd4132lxvi5i9g84mlzkvm4c-packages.json.drv
building '/nix/store/89rzwfnwvd4132lxvi5i9g84mlzkvm4c-packages.json.drv'...
Going to be running update for following packages:
- stalwart-1.2.0
Press Enter key to continue...
Running update for:
Enqueuing group of 1 packages
- stalwart-1.2.0: UPDATING ...
- stalwart-1.2.0: DONE.
Packages updated!
Diff after rewrites:
diff --git a/pkgs/by-name/st/stalwart_1/package.nix b/pkgs/by-name/st/stalwart_1/package.nix
index 66300deb4c22..4aee835fd567 100644
--- a/pkgs/by-name/st/stalwart_1/package.nix
+++ b/pkgs/by-name/st/stalwart_1/package.nix
@@ -22,7 +22,7 @@ let
in
rustPlatform.buildRustPackage (finalAttrs: {
pname = "stalwart" + (lib.optionalString stalwartEnterprise "-enterprise");
- version = "1.2.0";
+ version = "1.2.2";
__structuredAttrs = true;
@@ -30,10 +30,10 @@ rustPlatform.buildRustPackage (finalAttrs: {
owner = "stalwartlabs";
repo = "stalwart";
tag = "v${finalAttrs.version}";
- hash = "sha256-YZbnObGT94N31yQwEwERDeC0QoOOBs6oSxfbptRw1Zc=";
+ hash = "sha256-XSN1cexcp92sLJw+OjJmskGA6H8w9pEd7QRDk5vwgfg=";
};
- cargoHash = "sha256-2pMTJYkvmc3hryTv0N5aMD2VHiE52ZcCctJqZOC8uU8=";
+ cargoHash = "sha256-OtyYiYoRRyxQ1zuWei0ELlaprg+QfQtEUGEB9tcKhqo=";
env = {
ROCKSDB_INCLUDE_DIR = "${rocksdb}/include";
@@ -66,7 +66,7 @@ rustPlatform.buildRustPackage (finalAttrs: {
zstd
];
- # https://github.com/stalwartlabs/stalwart/blob/v1.2.0/.github/workflows/ci.yml#L360
+ # https://github.com/stalwartlabs/stalwart/blob/v1.2.2/.github/workflows/ci.yml#L360
buildNoDefaultFeatures = true;
buildFeatures = [
"sqlite"
diff --git a/pkgs/by-name/st/stalwart_1/spam-filter.nix b/pkgs/by-name/st/stalwart_1/spam-filter.nix
index 0663f150faa6..4ac69691d362 100644
--- a/pkgs/by-name/st/stalwart_1/spam-filter.nix
+++ b/pkgs/by-name/st/stalwart_1/spam-filter.nix
@@ -9,13 +9,13 @@
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "spam-filter";
- version = "3.0.4";
+ version = "3.0.5";
src = fetchFromGitHub {
owner = "stalwartlabs";
repo = "spam-filter";
tag = "v${finalAttrs.version}";
- hash = "sha256-nfhbbUrhuEWFfMm/MwSW4jc1GZ5fdJQxK6S8lLTnrpE=";
+ hash = "sha256-uIcO0VX1c0UfKlqk0Q4dUpm+RIaYcr1xpPSx7SQZcIY=";
};
__structuredAttrs = true;
diff --git a/pkgs/by-name/st/stalwart_1/webui.nix b/pkgs/by-name/st/stalwart_1/webui.nix
index e2bc0ddf062c..b332d777d5a7 100644
--- a/pkgs/by-name/st/stalwart_1/webui.nix
+++ b/pkgs/by-name/st/stalwart_1/webui.nix
@@ -8,16 +8,16 @@
}:
buildNpmPackage (finalAttrs: {
pname = "webui";
- version = "2.1.1";
+ version = "2.1.2";
src = fetchFromGitHub {
owner = "stalwartlabs";
repo = "webui";
tag = "v${finalAttrs.version}";
- hash = "sha256-lNyU74O807vdQ0oNYU1PdqdxzNZAl/dU9j6buFCo7C4=";
+ hash = "sha256-/vsRBPPOMVkmAnR410OqBHcT7E9b33Q65aqyf+qr34E=";
};
- npmDepsHash = "sha256-j9HR3oeJUJBlnAOS4e1pCN6ADmmJHonstrO2y09RyEc=";
+ npmDepsHash = "sha256-Xu2H0isueMvLcEAYakmLvR9mef36La+gNaNyafQimrE=";
__structuredAttrs = true;
env = {
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: `00626a14dfe118f77d983ae8f00103400c1f1ab2`
---
### `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 stalwart_1 is: Secure, modern, all-in-one mail and collaboration server
meta.homepage for stalwart_1 is: https://github.com/stalwartlabs/stalwart
meta.changelog for stalwart_1 is: https://github.com/stalwartlabs/stalwart/blob/v1.2.2/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 1.2.2 with grep in /nix/store/dpfvwi0g1x29r14gin5hg0wlh6xg36iv-stalwart-1.2.2
- found 1.2.2 in filename of file in /nix/store/dpfvwi0g1x29r14gin5hg0wlh6xg36iv-stalwart-1.2.2
---
Rebuild report (if merged into master) (click to expand)
```
18 total rebuild path(s)
2 package rebuild(s)
First fifty rebuilds by attrpath
stalwart_1
```
Instructions to test this update (click to expand)
---
Either **download from the cache**:
```
nix-store -r /nix/store/dpfvwi0g1x29r14gin5hg0wlh6xg36iv-stalwart-1.2.2 \
--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 stalwart_1 https://github.com/r-ryantm/nixpkgs/archive/00626a14dfe118f77d983ae8f00103400c1f1ab2.tar.gz
```
Or:
```
nix build github:r-ryantm/nixpkgs/00626a14dfe118f77d983ae8f00103400c1f1ab2#stalwart_1
```
After you've downloaded or built it, look at the files and if there are any, run the binaries:
```
ls -la /nix/store/dpfvwi0g1x29r14gin5hg0wlh6xg36iv-stalwart-1.2.2
ls -la /nix/store/dpfvwi0g1x29r14gin5hg0wlh6xg36iv-stalwart-1.2.2/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: `00626a14dfe118f77d983ae8f00103400c1f1ab2`
---
### `x86_64-linux`
:white_check_mark: 1 package built:
---
###### Maintainer pings
cc @happysalada @onny @oddlama @Pandapip1 @norpl @debtquity 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/595451