about summary refs log tree commit diff stats
path: root/pkgs/by-name/st/stalwart-mail-patched/package.nix
diff options
context:
space:
mode:
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";