aboutsummaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/st
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-10-31 21:12:54 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-10-31 21:12:54 +0100
commit6a1d7c39ebc5cea4300e56211d454ca82269bb05 (patch)
tree40fab11e305e7b23c21625383ab57bc428466f30 /pkgs/by-name/st
parentflake.lock: Update (diff)
downloadnixos-server-6a1d7c39ebc5cea4300e56211d454ca82269bb05.zip
treewide: Update
Diffstat (limited to 'pkgs/by-name/st')
-rw-r--r--pkgs/by-name/st/stalwart-mail-patched/package.nix7
-rw-r--r--pkgs/by-name/st/stalwart-mail-patched/spam-filter.nix4
2 files changed, 7 insertions, 4 deletions
diff --git a/pkgs/by-name/st/stalwart-mail-patched/package.nix b/pkgs/by-name/st/stalwart-mail-patched/package.nix
index 062ab2c..f9bcdaa 100644
--- a/pkgs/by-name/st/stalwart-mail-patched/package.nix
+++ b/pkgs/by-name/st/stalwart-mail-patched/package.nix
@@ -11,7 +11,9 @@ in
rustPlatform =
rustPlatform
// {
- buildRustPackage = prev:
+ buildRustPackage = prev_base: let
+ prev = lib.fix prev_base;
+ in
rustPlatform.buildRustPackage (
lib.attrsets.recursiveUpdate
prev
@@ -19,7 +21,8 @@ in
pname = "stalwart-mail-patched";
passthru = nixLib.warnMerge (prev.passthru or {}) {
- # Use a reproducible source for the spamfilter instead of fetching it at runtime from GitHub.
+ # Use a reproducible source for the spamfilter
+ # instead of fetching it at runtime from GitHub.
inherit spamfilter;
} "stalwart-mail passthru";
diff --git a/pkgs/by-name/st/stalwart-mail-patched/spam-filter.nix b/pkgs/by-name/st/stalwart-mail-patched/spam-filter.nix
index 32f5e06..be8d32f 100644
--- a/pkgs/by-name/st/stalwart-mail-patched/spam-filter.nix
+++ b/pkgs/by-name/st/stalwart-mail-patched/spam-filter.nix
@@ -4,13 +4,13 @@
}:
stdenv.mkDerivation (finalAttrs: {
pname = "spam-filter";
- version = "2.0.3";
+ version = "2.0.4";
src = fetchFromGitHub {
owner = "stalwartlabs";
repo = "spam-filter";
tag = "v${finalAttrs.version}";
- hash = "sha256-NhD/qUiGhgESwR2IOzAHfDATRlgWMcCktlktvVfDONk=";
+ hash = "sha256-unSRgmXE5T1QfE41E29BjJKpEAnMtYiAefcL2p7Cjak=";
};
buildPhase = ''