about summary refs log tree commit diff stats
path: root/pkgs/by-name/st/stalwart-mail-patched/package.nix
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/stalwart-mail-patched/package.nix
parentflake.lock: Update (diff)
downloadnixos-server-6a1d7c39ebc5cea4300e56211d454ca82269bb05.zip
treewide: Update
Diffstat (limited to 'pkgs/by-name/st/stalwart-mail-patched/package.nix')
-rw-r--r--pkgs/by-name/st/stalwart-mail-patched/package.nix7
1 files changed, 5 insertions, 2 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";