about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-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 = ''