!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

230 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs47 Servers

Load older messages


SenderMessageTime
2 Sep 2022
@mon:tchncs.deribosomerocker it seems to be building something now, so let's hope it doesn't error 11:57:22
@mon:tchncs.deribosomerocker

nope :( it error with

error: The option `home-manager.users.mon.services.emacs.package' is defined multiple times.

       Definition values:
       - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv>
       - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv>
(use '--show-trace' to show detailed location information)
12:39:37
@mon:tchncs.deribosomerocker* nope :( it errors with ```nix error: The option `home-manager.users.mon.services.emacs.package' is defined multiple times. Definition values: - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv> - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv> (use '--show-trace' to show detailed location information) ```12:50:46
@mon:tchncs.deribosomerocker* nope :( it errors with ```nix error: The option `home-manager.users.mon.services.emacs.package' is defined multiple times. Definition values: - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv> - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv> (use '--show-trace' to show detailed location information) ```12:51:07
@mon:tchncs.deribosomerocker* nope :( it errors with ``` error: The option `home-manager.users.mon.services.emacs.package' is defined multiple times. Definition values: - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv> - In `/nix/store/qqdyfq33c2ji47660rgxv88m8y904i02-source/home.nix': <derivation /nix/store/yyz0d4mshcvfvayiw31vsapxmlzmhk4p-emacs-with-packages-28.1.drv> (use '--show-trace' to show detailed location information) ```12:51:21
@k0kada:matrix.orgk0kada (he/him)Well, the error seems pretty clear13:37:44
@k0kada:matrix.orgk0kada (he/him) I said already that you shouldn't need to define services.emacs.package 13:38:25
@k0kada:matrix.orgk0kada (he/him)Since this is already defined by the NDE HM module13:38:37
@mon:tchncs.deribosomerockeroh alright15:41:53
3 Sep 2022
@mon:tchncs.deribosomerocker well, in-case any of you guys are waiting for updates from me, i have been trying to build my configuration the entire day by now and it keeps failing with some internet issues, i believe 00:02:49
@lord-valen:matrix.orglord-valen joined the room.00:02:52
@mon:tchncs.deribosomerocker i suppose i've been having internet just weak enough to be annoying when trying to build my nixos configuration, but good enough to never annoy me watching high-quality videos or really generally using the internet in any form 00:05:57
@mon:tchncs.deribosomerocker after nix-doom-emacs succeeds building and emacs functions as it normally should, i'll be closing my issue and then i'll try to tackle the documentation issues, and also hopefully providing or maybe even helping in improving some parts of the module 00:09:13
@mon:tchncs.deribosomerocker though, all of the last errors have been very similar to https://paste.rs/Njm, so i'm getting worried there 00:13:08
@mon:tchncs.deribosomerocker I think it builds! 01:16:32
@mon:tchncs.deribosomerockernow, i have to try it with vterm and also emacsPgtkNativeComp01:17:10
@mon:tchncs.deribosomerocker welp, i switched to the build and, well, emacs is there... i just don't see any doomness to it 01:25:08
@mon:tchncs.deribosomerocker that's before i use vterm and emacsPgtkNativeComp 01:25:21
@mon:tchncs.deribosomerocker alright you guys, now after using emacsPgtkNativeComp it also doesn't error, but both with and without it, the doom part of doom emacs doesn't seem set-up :/ 09:52:54
@mon:tchncs.deribosomerockerimage.png
Download image.png
09:53:02
@mon:tchncs.deribosomerocker

currently i get this error:

09:53:02
@mon:tchncs.deribosomerockerimage.png
Download image.png
09:53:20
@mon:tchncs.deribosomerocker and here's how all of my emacs looks for reference 09:53:20
@mon:tchncs.deribosomerocker huh, you guys don't respect DOOMDIR and EMACSDIR? 09:53:57
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
huh, you guys don't respect DOOMDIR and EMACSDIR?
We use them to inject the configuration
10:32:59
@k0kada:matrix.orgk0kada (he/him)So please don't set it yourself, otherwise this is not going to work10:33:32
@k0kada:matrix.orgk0kada (he/him)We just allow overwrites of this variables for debugging purposes10:33:42
@mon:tchncs.deribosomerocker yeah alright 10:36:26
@mon:tchncs.deribosomerocker

well, i unset them:

~/.c/nixos:mon% echo $DOOMDIR

~/.c/nixos:mon% echo $EMACSDIR

~/.c/nixos:mon% emacs
10:37:00
@mon:tchncs.deribosomerocker
In reply to@mon:tchncs.de
image.png
but the last command still produces the exact same error up top: this one
10:37:01

Show newer messages


Back to Room ListRoom Version: 9