!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

746 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
@bandithedoge:matrix.orgbandithedoge

you might want to put something like that in home.activation

21:55:47
@bandithedoge:matrix.orgbandithedoge

you can just make the alias at some subdirectory of ~/Applications and it should work

21:56:19
@belak:matrix.org@belak:matrix.orghttps://github.com/nix-community/home-manager/issues/1341#issuecomment-761021848 21:56:19
@bandithedoge:matrix.orgbandithedogejust make sure your script cleans out the directory first21:56:28
@bandithedoge:matrix.orgbandithedoge
In reply to @belak:matrix.org
https://github.com/nix-community/home-manager/issues/1341#issuecomment-761021848
yeah exactly that
21:56:42
@bandithedoge:matrix.orgbandithedogeyou could modify that script to put it in a subdirectory that gets cleaned at every activation to avoid having old aliases21:58:02
@belak:matrix.org@belak:matrix.orgThere are some better ones later in that issue which also copy the icons21:58:55
@belak:matrix.org@belak:matrix.orgI'll update here when I have it working21:59:02
20 Apr 2024
@ngn999:matrix.orgngn
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@belak:matrix.orgI already got nerdsniped switching to nix emacs today, I'll have to save Raycast for another time00:16:15
@bestlem:matrix.orgbestlemHowever it complains when I try to use a tree-sitter mode that it cannfind the .so or. dylib17:44:34
@bestlem:matrix.orgbestlemMy config is17:44:44
@bestlem:matrix.orgbestlem
17:45:00
@bestlem:matrix.orgbestlem programs.emacs = {
enable = true;
package = pkgs.emacs;
17:45:33
@bestlem:matrix.orgbestlem extraPackages =
epkgs: with epkgs; [
emacsql
emacsql-sqlite
pdf-tools
vterm
treemacs
treesit-grammars.with-all-grammars
# straight # my version
];
};
17:45:45
@bestlem:matrix.orgbestlemWhat else do I need to set to get the treesit grammers loaded17:46:03
@bestlem:matrix.orgbestlemOn 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 libraries17:48:09
@bestlem:matrix.orgbestlemI am on macOS if that matters17:48:26
21 Apr 2024
@azahi:azahi.ccazahi 21:49:12
22 Apr 2024
@willbush:matrix.orgwillbush changed their profile picture.07:10:26
@zeorin:matrix.orgXandor 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:pyrox.devPyrox [It/She/They] joined the room.20:29:07
24 Apr 2024
@theutz:matrix.orgtheutz joined the room.16:08:55
@zirpu:matrix.org@zirpu:matrix.org left the room.17:04:33
25 Apr 2024
@ldeck:matrix.orgldeck

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
@mjolnir:nixos.orgNixOS Moderation Bot banned @ultranix:matrix.org@ultranix:matrix.org (<no reason supplied>).09:39:50
@bestlem:matrix.orgbestlemWhat is in your /Users/ldeck/.emacs.d/early-init.el11:52:44
@belak:matrix.org@belak:matrix.org left the room.11:56:13
@ldeck:matrix.orgldeck
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:matrix.orgldeck
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

There are no newer messages yet.


Back to Room ListRoom Version: 6