!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
2 Sep 2022
@mon:tchncs.deribosomerocker still the doom branch 10:36:45
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
also.. what's the deal with elpaBuild vs trivialBuild? I can't see any documentation for them
They're defined in nixpkgs
11:41:57
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de

i seem to be getting this error now:

error: attribute 'src' missing

       at /nix/store/sjmq1gphj1arbzf4aqqnygd9pf4hkfkf-source/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix:531:31:

          530|           cmakeFlags = [
          531|             "-DEMACS_SOURCE=${self.emacs.src}"
             |                               ^
          532|             "-DUSE_SYSTEM_LIBVTERM=ON"
(use '--show-trace' to show detailed location information)
Try to comment the vterm package
11:50:25
@k0kada:matrix.orgk0kada (he/him)IMO, you need to start smaller11:50:37
@k0kada:matrix.orgk0kada (he/him)Trying to do too much things at the same time is a receipt to fail11:50:50
@mon:tchncs.deribosomerocker
In reply to @k0kada:matrix.org
Try to comment the vterm package
should I add it in via the emacsPackagesOverlay?
11:51:44
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
should I add it in via the emacsPackagesOverlay?
Maybe, but really
11:52:13
@k0kada:matrix.orgk0kada (he/him)Just remove it for now11:52:17
@k0kada:matrix.orgk0kada (he/him)Try to get a smaller version of your config running first11:52:27
@mon:tchncs.deribosomerockeralright, i'll do that11:52:38
@k0kada:matrix.orgk0kada (he/him)This is 101 debugging11:52:41
@k0kada:matrix.orgk0kada (he/him)Otherwise you will get crazy trying to fix all issues that get just because you're doing too much at the same time11:53:05
@k0kada:matrix.orgk0kada (he/him)Another suggestion is to switch to default emacs instead of emacsPgtkNativeComp11:53:38
@k0kada:matrix.orgk0kada (he/him)After you get it working, you can re-enable emacsPgtkNativeComp11:53:58
@k0kada:matrix.orgk0kada (he/him)And them vterm11:54:02
@mon:tchncs.deribosomerocker okay, i removed both vterm and emacsPgtkNativeComp 11:57:07
@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

Show newer messages


Back to Room ListRoom Version: 9