-
-
Save cmacrae/e3804fc86f38ba02c1881c206e855d48 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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