20 Jun 2023 |
hdzki ⚡️ | In reply to@j4:matrix.org It it's just runtime path of your emacs, can't you wrap your emacs and provide your own derivation ? (to programs.emacs or w/e else you use) Because i need to set the variables inside of doom emacs. Some modules are stubborn and won't load from PATH unless you specify it | 21:39:01 |
hdzki ⚡️ | and if you're doing that already, why not just set them to store paths in the first place. | 21:39:18 |
hdzki ⚡️ | i'm probably gonna write it out and then load it from my config.el | 21:39:42 |
hdzki ⚡️ | For example
``` | 21:41:29 |
hdzki ⚡️ | * For example, these 2 won't load from path (use-package langtool
:config
(setq langtool-bin "${pkgs.languagetool}/bin/languagetool-commandline"))
(setq parinfer-rust-library "${pkgs.kakounePlugins.parinfer-rust}/lib/libparinfer_rust.dylib") | 21:41:38 |
hdzki ⚡️ | * For example, these 2 won't load from path so you have to set them (use-package langtool
:config
(setq langtool-bin "${pkgs.languagetool}/bin/languagetool-commandline"))
(setq parinfer-rust-library "${pkgs.kakounePlugins.parinfer-rust}/lib/libparinfer_rust.dylib") | 21:41:48 |
j4m3s | You could generate a separate file and link via home.file.".doom.d.generated".source = ... something and then load it from your doom emacs config I guess | 21:46:15 |
21 Jun 2023 |
| dash joined the room. | 19:54:07 |
23 Jun 2023 |
| Nova Leary joined the room. | 03:02:08 |
| Nova Leary left the room. | 04:28:42 |
Asbjørn | Latest nix-doom-emacs is broken for me. Can open emacs standalone, but the systemd service dumps a bunch of errors elated to not finding something called "annalist" (I'm noticing I really need to pin my emacs setup now 😅)
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/qgq41l3x4fbdx36qx7xxl4b1sn5sj70x-doom-modeline-workarounds.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/qgq41l3x4fbdx36qx7xxl4b1sn5sj70x-doom-modeline-workarounds.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/j7qpa26x2g5wkv7d9rzvd4fwfvadz9ii-doom.d/config.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/j7qpa26x2g5wkv7d9rzvd4fwfvadz9ii-doom.d/config.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/mfwnjy57ilyzqw56978i5amspw882614-doom-private/config.extra.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/mfwnjy57ilyzqw56978i5amspw882614-doom-private/config.extra.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/ik1ni0r6lncx4fkac4grkzfm4nmr5vnp-doom-emacs/lisp/doom-start.el (source)...done
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/z2mzf110hlkq9ca7cbnm47s93sczg0mw-info-workarounds.el (source)...
Jun 23 21:09:23 plate bash[1525906]: Loading /nix/store/z2mzf110hlkq9ca7cbnm47s93sczg0mw-info-workarounds.el (source)...done
Jun 23 21:09:24 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:25 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:27 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:28 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:28 plate bash[1525906]: evil-collection error: (file-missing Cannot open load file No such file or directory annalist)
Jun 23 21:09:28 plate bash[1525906]: Starting Emacs daemon.
Jun 23 21:09:28 plate systemd[1765]: Started Emacs text editor.
| 19:11:09 |
Asbjørn | not sure if this is the right place to dump this kind of thing. I fixed my own setup, but not in any generalizable way | 19:18:25 |
roman.gonzalez | I'm seeing the same issue with annalist 😑 | 19:42:57 |
26 Jun 2023 |
roman.gonzalez | ugh, I think I know what is going on with the evil-collection package 😬
So first, context.
evil-collection is a package to add evil keybindings to a bunch of other modes.
I added a change to the nix-doom-emacs repository to change the resolution of evil-collection to be an extra dependency (not going through the regular emacs' dependency resolution, but through nix machinery).
I did this as the regular emac's dependency resolution hangs on the latest version of macOS, specifically when compiling the evil-collection-speedbar.el file.
Now, this "worked" ok. Everything compiles and we are good right? Not so much.
I found out that when the extra dependencies compilation fail, it does not fail the whole build. After whacking a few moles making it compile, I noticed that the final installation does not include a modes subdirectory that the package needs. I think this is due to the nix machinery only taking .el files into consideration (not directories).
I'm trying to make evil-collection work in macOS, ideally I would be able to skip a specific extension from evil-collection (the one hanging the build).
| 21:14:55 |
roman.gonzalez | at this point, I would recommend reverting the evil-collection dependency resolution to come from emacs (e.g. remove it from the overrides.nix ). This may work for Linux folks so no need to stop that from happening. | 21:16:31 |
roman.gonzalez | before I do the PR, I'm interested in your thoughts | 21:16:49 |
27 Jun 2023 |
ckie (they/them) | roman.gonzalez: it seems like you currently know what's going on better than me (: | 01:56:42 |
ckie (they/them) | is modes an empty subdir? | 01:56:49 |
ckie (they/them) | * is modes an empty subdir? that'd make sense | 01:56:56 |
ckie (they/them) | and i'm rather puzzled by the two different dependency resolution codepaths you mentioned: straight.el collects almost everything (excluding mu4e) into the same straight-emacs-env derivation? | 01:58:34 |
ckie (they/them) | i love the mole whacking metaphor | 01:58:53 |
ckie (they/them) | * i love the mole whacking analogy | 01:59:00 |
28 Jun 2023 |
| htsr joined the room. | 08:24:35 |
30 Jun 2023 |
srasu | I've been using doom by just having emacs in my home-manager config and putting the deps it needs on the path into my config as well, and that's been working fine for me. I'm doing this because my doom config uses git submodules and nix chokes on that when I try nix-doom-emacs' home-manager module. I'm satisfied with this for now, except for one thing: the all-the-icons-fonts have not been properly detected by emacs. Is there something I can do to force it to have access to those fonts and use them?
| 16:35:00 |
1 Jul 2023 |
lord-valen | What do you mean when you say that nix "chokes on it"? Had you tried using ?submodules=1 in the URL? | 07:07:11 |
lord-valen | Also your presence reminds me that I should learn Lojban lol. | 07:07:45 |
srasu | Hooray, more lojban evangelization. Anyway, I have tried ?submodules=1 in the url, however building my home-manager config with nix-doom-emacs and my config hangs, and when I inspect the process tree with htop I see that the process that's stuck is git cloning submodules.
| 15:12:27 |
srasu | I'm mostly just concerned with getting the fonts working though, because I don't really want to use nix-doom-emacs because I like to edit my config frequently while I'm using emacs, having to rebuild my home config each time sounds like a big annoyance.
| 15:53:43 |
ckie (they/them) | i wonder what the overlap is between nix-doom-emacs and conlanging | 15:58:49 |
ckie (they/them) | (just learning toki pona here very casually) | 15:59:00 |