From 9f8df7e7491d13fd6a2c0807930414b14791be1b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 11 May 2024 17:50:35 +0200 Subject: emacs: patch apheleia to use prettierd --- user/settings/emacs.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'user') diff --git a/user/settings/emacs.nix b/user/settings/emacs.nix index 71f2401f..722a7a6d 100644 --- a/user/settings/emacs.nix +++ b/user/settings/emacs.nix @@ -155,6 +155,15 @@ in ws-butler which-key ]); + overrides = self: super: rec { + apheleia = self.melpaPackages.apheleia.overrideAttrs + (old: { + patchPhase = '' + substituteInPlace apheleia-formatters.el \ + --replace-fail '"prettier"' '"prettierd"' + ''; + }); + }; extraConfig = '' (with-eval-after-load 'editorconfig (setq editorconfig-exec-path "${pkgs.editorconfig-core-c}/bin/editorconfig")) -- cgit 1.4.1