{"id":15171843,"url":"https://github.com/inscapist/emacs-osx","last_synced_at":"2025-10-01T06:32:11.115Z","repository":{"id":45320808,"uuid":"362174823","full_name":"inscapist/emacs-osx","owner":"inscapist","description":"Emacs on Mac OSX. Install with Nix","archived":true,"fork":false,"pushed_at":"2021-12-21T15:47:10.000Z","size":148,"stargazers_count":40,"open_issues_count":5,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-09-28T09:20:26.801Z","etag":null,"topics":["big-sur","catalina","darwin","emacs","gccemacs","macos","native-comp","nix","nixpkgs","osx"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/inscapist.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-04-27T16:11:50.000Z","updated_at":"2024-08-17T15:14:41.000Z","dependencies_parsed_at":"2022-09-22T20:22:57.999Z","dependency_job_id":null,"html_url":"https://github.com/inscapist/emacs-osx","commit_stats":null,"previous_names":["inscapist/emacs-osx"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inscapist%2Femacs-osx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inscapist%2Femacs-osx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inscapist%2Femacs-osx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/inscapist%2Femacs-osx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/inscapist","download_url":"https://codeload.github.com/inscapist/emacs-osx/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234837122,"owners_count":18894542,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["big-sur","catalina","darwin","emacs","gccemacs","macos","native-comp","nix","nixpkgs","osx"],"created_at":"2024-09-27T09:20:28.702Z","updated_at":"2025-10-01T06:32:05.860Z","avatar_url":"https://github.com/inscapist.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Emacs OSX\n\n![Latest HEAD Emacs Status](https://github.com/sagittaros/emacs-osx/actions/workflows/build.yml/badge.svg)\n\n\n## Features\n\n- Tested on Mac OSX Big Sur and Catalina\n- Works with yabai tiling window manager\n- Comes with 4 variants (with/without native-compilation, and with/without tiling support)\n- Cached builds, updated from source every 24 hours\n\n## There are 4 variants\n\n#### emacsOsx\n\n\u003e master emacs. Fresh out of https://savannah.gnu.org/projects/emacs\n\n#### emacsOsxNative\n\n\u003e master emacs, with native compilation\n\n#### emacsOsxTile\n\n\u003e emacsOsx with tiling support (may not work with posframe/childframe)\n\n#### emacsOsxNativeTile\n\n\u003e emacsOsxNative with tiling support (may not work with posframe/childframe)\n\n## Installation\n\n#### Install Nix and optionally nix-darwin\n\nNo Nix knowledge required, and you do NOT need `nix-darwin` for this to work. [Nix Darwin](https://github.com/LnL7/nix-darwin) allows installation to /Applications folder but you could also symlink from `~/.nix-profile/Applications`.\n\nVisit this link if you haven't installed Nix already.\nhttps://nixos.org/guides/install-nix.html\n\n#### Install to nix-store\n\n```sh\n# Install from cachix binaries\nnix-env -iA cachix -f https://cachix.org/api/v1/install\ncachix use emacs-osx\n\n# `emacsOsxNative` can be substituted with any variant (mentioned above)\nnix-env -iA emacsOsxNative -f https://github.com/sagittaros/emacs-osx/archive/refs/tags/built.tar.gz\n```\n\n#### Copy to /Applications\n\nNot required if you are using nix-darwin.\n\n```sh\nsudo rm -rf /Applications/Emacs.app\nsudo cp -rL ~/.nix-profile/Applications/Emacs.app /Applications\n```\n\n## Motivation\n\n- Replicate [Emacs Overlay](https://github.com/nix-community/emacs-overlay) to OSX/darwin environment\n- Allow overrides of patches\n- Last but not least, for my own learning and use\n- And in future (my own custom icons)\n\n## Patches\n\nMore patches can be found below:\n\n- [daviderestivo's emacs-head](https://github.com/daviderestivo/homebrew-emacs-head/tree/master/patches)\n- [Emacs plus](https://github.com/d12frosted/homebrew-emacs-plus/tree/master/patches/emacs-28)\n- [Emacs overlay](https://github.com/nix-community/emacs-overlay/tree/master/patches)\n\nNote that this uses --with-ns (nextstep) and patches from \"Mac Port\" (see [here](https://bitbucket.org/mituharu/emacs-mac/src/master/)) version will likely not work.\n\n## References\n\n- https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/applications/editors/emacs/generic.nix\n- https://github.com/nix-community/emacs-overlay\n- https://european-lisp-symposium.org/static/2020/corallo-nassi-manca-slides.pdf\n- https://arxiv.org/pdf/2004.02504.pdf\n- https://www.gnu.org/software/emacs/manual/html_node/elisp/Building-Emacs.html\n\n## Inspired By\n\n[Gccemacs by twlz0ne](https://github.com/twlz0ne/nix-gccemacs-darwin)\n\n## CI configuration (Github Action)\n\nRefer https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idruns-on\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finscapist%2Femacs-osx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finscapist%2Femacs-osx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finscapist%2Femacs-osx/lists"}