19 Apr 2024 |
bandithedoge | you might want to put something like that in home.activation
| 21:55:47 |
bandithedoge | you can just make the alias at some subdirectory of ~/Applications and it should work
| 21:56:19 |
@belak:matrix.org | https://github.com/nix-community/home-manager/issues/1341#issuecomment-761021848 | 21:56:19 |
bandithedoge | just make sure your script cleans out the directory first | 21:56:28 |
bandithedoge | In reply to @belak:matrix.org https://github.com/nix-community/home-manager/issues/1341#issuecomment-761021848 yeah exactly that | 21:56:42 |
bandithedoge | you could modify that script to put it in a subdirectory that gets cleaned at every activation to avoid having old aliases | 21:58:02 |
@belak:matrix.org | There are some better ones later in that issue which also copy the icons | 21:58:55 |
@belak:matrix.org | I'll update here when I have it working | 21:59:02 |
20 Apr 2024 |
ngn | In reply to @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. Raycast works. | 00:15:28 |
@belak:matrix.org | I already got nerdsniped switching to nix emacs today, I'll have to save Raycast for another time | 00:16:15 |
bestlem | However it complains when I try to use a tree-sitter mode that it cannfind the .so or. dylib | 17:44:34 |
bestlem | My config is | 17:44:44 |
bestlem |
| 17:45:00 |
bestlem | programs.emacs = {
enable = true;
package = pkgs.emacs; | 17:45:33 |
bestlem | extraPackages =
epkgs: with epkgs; [
emacsql
emacsql-sqlite
pdf-tools
vterm
treemacs
treesit-grammars.with-all-grammars
# straight # my version
];
}; | 17:45:45 |
bestlem | What else do I need to set to get the treesit grammers loaded | 17:46:03 |
bestlem | On emacs treesit-extra-load-pat points to the nix-store that containes the native compilations of the packages etc but that store does not have any shared libraries | 17:48:09 |
bestlem | I am on macOS if that matters | 17:48:26 |
21 Apr 2024 |
| azahi | 21:49:12 |
22 Apr 2024 |
| willbush changed their profile picture. | 07:10:26 |
Xandor Schiefer | Hey all π, if you use dap-mode and code in JavaScript, please consider giving my PR for vscode-js-debug a π and/or a review. This standalone adapter can be used with dap-js . | 07:32:06 |
23 Apr 2024 |
| Pyrox [It/She/They] joined the room. | 20:29:07 |
24 Apr 2024 |
| theutz joined the room. | 16:08:55 |
| @zirpu:matrix.org left the room. | 17:04:33 |
25 Apr 2024 |
ldeck | Hey all, I'd like to be able to solve a macOS reboot issue with Emacs.app, built using home-manager, where modules like hm-init.el are somehow missing from the load-path along with a number of others that were defined via home-manager's emacs-init / use-package.
Opening the app via the terminal open -a ~/.nix-profile/Applications/Emacs.app or Finder at ~/Applications/Home\ Manager\ Apps/Emacs.app β both are finder aliases to /nix/store/irmcmk3ccmlawr8985nyll9x6g9v4dl0-emacs-with-packages-29.1/Applications/Emacs.app β works happily. Things go awry when the system reboots and restores apps/windows that were previously open (See below warnings).
Any ideas on how to solve this?
β Warning (initialization): An error occurred while loading β/Users/ldeck/.emacs.d/early-init.elβ:
File is missing: Cannot open load file, No such file or directory, hm-early-init
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the β--debug-initβ option to view a complete error backtrace. β Warning (initialization): An error occurred while loading β/Users/ldeck/.emacs.d/init.elβ:
File is missing: Cannot open load file, No such file or directory, hm-init
| 21:09:12 |
26 Apr 2024 |
| NixOS Moderation Bot banned @ultranix:matrix.org (<no reason supplied>). | 09:39:50 |
bestlem | What is in your /Users/ldeck/.emacs.d/early-init.el | 11:52:44 |
| @belak:matrix.org left the room. | 11:56:13 |
ldeck | In reply to @bestlem:matrix.org What is in your /Users/ldeck/.emacs.d/early-init.el % cat ~/.emacs.d/early-init.el (require 'hm-early-init) (provide 'early-init) | 12:29:58 |
ldeck | In reply to @bestlem:matrix.org What is in your /Users/ldeck/.emacs.d/early-init.el * % cat ~/.emacs.d/early-init.el (require 'hm-early-init) (provide 'early-init)
% cat ~/.emacs.d/init.el
(require 'hm-init) (provide 'init)
| 12:32:00 |