sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 07ae55696a4121295386b4cd6ae498b2c00254a0
parent e9f8f8439973152046f4a0509efd61b0dd4263c2
Author: Dan Callaghan <djc@djc.id.au>
Date:   Thu, 10 Apr 2025 19:44:22 +1000

contrib/nix: patch rmail for frozen string literals

Diffstat:
M contrib/nix/ruby3.4-shell.nix | 11 +++++++++++
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/contrib/nix/ruby3.4-shell.nix b/contrib/nix/ruby3.4-shell.nix
@@ -11,6 +11,17 @@ let
     lockfile = ./Gemfile.lock;
     gemset = ./gemset.nix;
     gemConfig = pkgs.defaultGemConfig // {
+      rmail = attrs: {
+        dontBuild = false;
+        patches = [
+          # Frozen string literals: https://github.com/terceiro/rmail/pull/13
+          (pkgs.fetchpatch2 {
+            name = "rmail-frozen-string-literals.patch";
+            url = "https://github.com/terceiro/rmail/pull/13/commits/27f455af1fea0be0aa09959cc2237cbdf68de2a1.patch";
+            hash = "sha256-N5X9zix+WPoEugp2DBTu7dRDmesrF5pT/8Td2wraYoA=";
+          })
+        ];
+      };
       # Workaround for Sup issue #623
       ncursesw = attrs: pkgs.defaultGemConfig.ncursesw attrs // {
         src = pkgs.fetchFromGitHub {