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 '')
-rw-r--r--pkgs/by-name/st/stalwart-mail-patched/package.nix12
1 files changed, 2 insertions, 10 deletions
diff --git a/pkgs/by-name/st/stalwart-mail-patched/package.nix b/pkgs/by-name/st/stalwart-mail-patched/package.nix
index 5b1c409..9058f2c 100644
--- a/pkgs/by-name/st/stalwart-mail-patched/package.nix
+++ b/pkgs/by-name/st/stalwart-mail-patched/package.nix
@@ -4,8 +4,6 @@
   nixLib,
 }: let
   spamfilter = callPackage ./spam-filter.nix {};
-
-  mail-send = callPackage ./mail-send.nix {};
 in
   stalwart-mail.overrideAttrs (final: prev: {
     pname = "stalwart-mail-patched";
@@ -28,21 +26,15 @@ in
       # "elastic"
       # "s3"
       "redis"
+      "tls-native-roots"
     ];
 
-    postUnpack =
-      (prev.postUnpack or "")
-      + ''
-        cp --recursive "${mail-send}" ./source/crates/mail-send
-        chmod --recursive +w "./source/crates/mail-send"
-      '';
-
     cargoPatches =
       (prev.cargoPatches or [])
       ++ [
         # `stalwart-mail` uses their bundled store, which makes it impossible to use our
         # own CA certificate (e.g., for tests). Thus use a native version.
-        ./patches/crates-Use-the-platform-CA-bundle-instead-of-the-bun.patch
+        ./patches/use-platform-ca-roots.patch
       ];
 
     # Check that the enterprise feature is really disabled.