From 762fc4c8b8b533e9ddd17a01223b9d2813cdba19 Mon Sep 17 00:00:00 2001 From: Ted Reed Date: Thu, 10 Nov 2022 01:33:32 -0800 Subject: [PATCH] emacsPackages.hamlet-mode: fix build This package fails to build (and as far as I can tell always has) due to the maintainer script being unable to parse the maintainer email. adisbladis made a PR to fix this back in January, but it hasn't been merged, so this commit just pulls that patch in in order to fix the build --- .../editors/emacs/elisp-packages/melpa-packages.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix index ad3708d11b09..d3c3d5890858 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix @@ -507,6 +507,16 @@ let packageRequires = with self; [ evil highlight ]; }); + hamlet-mode = super.hamlet-mode.overrideAttrs (attrs: { + patches = [ + # Fix build; maintainer email fails to parse + (pkgs.fetchpatch { + url = "https://github.com/lightquake/hamlet-mode/commit/253495d1330d6ec88d97fac136c78f57c650aae0.patch"; + sha256 = "dSxS5yuXzCW96CUyvJWwjkhf1FMGBfiKKoBxeDVdz9Y="; + }) + ]; + }); + helm-rtags = fix-rtags super.helm-rtags; # tries to write to $HOME