!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

744 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org170 Servers

Load older messages


SenderMessageTime
19 Apr 2024
@grallo666:matrix.orggrallo666 * Okay, so I found out that it does not seems to happen with the standard emacs version, though I was using emacs-pgtk. 12:41:27
@belak:matrix.org@belak:matrix.org joined the room.19:18:21
@belak:matrix.org@belak:matrix.orgDoes the emacs-overlay work well on macOS? I'm currently using the emacs-plus homebrew tap, but wanted to move as many packages to nix rather than installing via nix-darwin and homebrew.19:19:50
@antifuchs:asf.computerantifuchs
In reply to @belak:matrix.org
Does the emacs-overlay work well on macOS? I'm currently using the emacs-plus homebrew tap, but wanted to move as many packages to nix rather than installing via nix-darwin and homebrew.
I've been using it for some years and it's been very solid. can recommend.
20:24:05
@antifuchs:asf.computerantifuchs you'll have to make some adjustments from emacs-plus, I suppose, but once you're running you should be good. 20:24:40
@belak:matrix.org@belak:matrix.org
In reply to @antifuchs:asf.computer
I've been using it for some years and it's been very solid. can recommend.
That's good to hear! Are your dotfiles/nix setup public for me to yoink some of the setup?
20:25:46
@antifuchs:asf.computerantifuchsno, sorry, I'm not publishing mine /:20:26:02
@belak:matrix.org@belak:matrix.orgIs there anything special you had to do, or did you just use the overlay?20:26:40
@belak:matrix.org@belak:matrix.orgI guess I'll just try it and see what happens20:26:58
@belak:matrix.org@belak:matrix.orgLooks like on darwin builds, it uses --with-ns, which is essentially the mac Cocoa-based build, which seems to be right21:45:05
@belak:matrix.org@belak:matrix.orgNow to just figure out how to link it into /Applications/21:45:17
@bandithedoge:matrix.orgbandithedoge
In reply to @belak:matrix.org
Now to just figure out how to link it into /Applications/
nix-darwin should do that for you
21:46:55
@bandithedoge:matrix.orgbandithedogesee https://github.com/nix-community/home-manager/issues/1341 if you're using hm21:47:05
@belak:matrix.org@belak:matrix.org Oh interesting, yeah it seems to be symlinked into ~/Applications/Home Manager Apps/Emacs.app. Guess it's not being picked up by Alfred. 21:48:43
@bandithedoge:matrix.orgbandithedogei had issues with that too back when i was on mac21:49:35
@belak:matrix.org@belak:matrix.orgI think I can add it to the search path21:49:43
@bandithedoge:matrix.orgbandithedogeit seems to be this way because hm creates symlinks instead of aliases21:50:02
@belak:matrix.org@belak:matrix.orgAh, yeah21:50:15
@bandithedoge:matrix.orgbandithedogeand afaik things like spotlight and alfred don't index application symlinks21:50:20
@bandithedoge:matrix.orgbandithedogei remember there being some applescript hack you could put in your config that would automatically create aliases for hm apps21:50:59
@belak:matrix.org@belak:matrix.org
osascript -e 'tell application "Finder" to make alias file to posix file "/Users/belak/Applications/Home Manager Apps/Emacs.app" at POSIX file "/Applications" with properties {name:"Emacs.app"}'
21:52:08
@bandithedoge:matrix.orgbandithedogeew21:52:36
@belak:matrix.org@belak:matrix.orgYeah21:52:40
@belak:matrix.org@belak:matrix.orgAt least this way I won't have to update the link whenever I upgrade emacs21:53:03
@bandithedoge:matrix.orgbandithedoge

/Users/belak/Applications/Home Manager Apps/Emacs.app is still a symlink though, right?

21:53:49
@bandithedoge:matrix.orgbandithedogethat will just make an alias to a symlink21:54:08
@belak:matrix.org@belak:matrix.orgNever mind, it resolved the symlink and seems to point directly to the store, which isn't what I wanted21:54:20
@bandithedoge:matrix.orgbandithedogeoh21:54:34
@bandithedoge:matrix.orgbandithedogeactually that could be the proper solution21:54:46
@belak:matrix.org@belak:matrix.orgYeah, need to automate it though21:55:04

Show newer messages


Back to Room ListRoom Version: 6