Skip to content

Instantly share code, notes, and snippets.

@cmacrae
Created February 17, 2020 17:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmacrae/e3804fc86f38ba02c1881c206e855d48 to your computer and use it in GitHub Desktop.
Save cmacrae/e3804fc86f38ba02c1881c206e855d48 to your computer and use it in GitHub Desktop.
{
programs.emacs.package =
let noTitleBarsPatch = (builtins.fetchurl
"https://raw.githubusercontent.com/d12frosted/homebrew-emacs-plus/b03e73c59ad59b73fd3b8201ace5b7b8b12a9ff2/patches/no-titlebar-release.patch"
);
in
if isDarwin then
(pkgs.emacsMacport.overrideAttrs (oAttrs: {
patches = oAttrs.patches ++ [ noTitleBarsPatch ];
}))
else pkgs.emacs;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment