Skip to content

Commit 07ae556

Browse files
committed
contrib/nix: patch rmail for frozen string literals
1 parent e9f8f84 commit 07ae556

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

contrib/nix/ruby3.4-shell.nix

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,17 @@ let
1111
lockfile = ./Gemfile.lock;
1212
gemset = ./gemset.nix;
1313
gemConfig = pkgs.defaultGemConfig // {
14+
rmail = attrs: {
15+
dontBuild = false;
16+
patches = [
17+
# Frozen string literals: https://github.com/terceiro/rmail/pull/13
18+
(pkgs.fetchpatch2 {
19+
name = "rmail-frozen-string-literals.patch";
20+
url = "https://github.com/terceiro/rmail/pull/13/commits/27f455af1fea0be0aa09959cc2237cbdf68de2a1.patch";
21+
hash = "sha256-N5X9zix+WPoEugp2DBTu7dRDmesrF5pT/8Td2wraYoA=";
22+
})
23+
];
24+
};
1425
# Workaround for Sup issue #623
1526
ncursesw = attrs: pkgs.defaultGemConfig.ncursesw attrs // {
1627
src = pkgs.fetchFromGitHub {

0 commit comments

Comments
 (0)