!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
1 Sep 2022
@k0kada:matrix.orgk0kada (he/him)

mon_aaraj:

diff --git a/home.nix b/home.nix
index 09ad206..3ba2b78 100644
--- a/home.nix
+++ b/home.nix
@@ -215,7 +215,7 @@
 
     emacs = {
       enable        = true;
-      package       = inputs.nix-doom-emacs;
+      #package       = inputs.nix-doom-emacs;
       #package       = pkgs.emacsPgtkNativeComp;
       extraPackages = epkgs: [ epkgs.vterm ];
     };
21:39:27
@k0kada:matrix.orgk0kada (he/him)The issue is in your config in the end21:39:38
@k0kada:matrix.orgk0kada (he/him) What happened: since you make package = inputs.nix-doom-emacs, this is evaluating the WHOLE flake inside your config 21:40:06
@k0kada:matrix.orgk0kada (he/him) And them it evaluates the checks attrset, that is a eachDefaultSystem https://github.com/nix-community/nix-doom-emacs/blob/master/flake.nix#L92-L102 21:40:57
@k0kada:matrix.orgk0kada (he/him) And of course, this ends up evaluating the build for aarch64-darwin first, because it is the first one in alphabetical order 21:41:25
@k0kada:matrix.orgk0kada (he/him)Case closed21:41:27
@k0kada:matrix.orgk0kada (he/him)

BTW, emacs.package is set by nix-doom-emacs itself: https://github.com/nix-community/nix-doom-emacs/blob/master/modules/home-manager.nix#L101

So no need to set it manually

21:42:25
@k0kada:matrix.orgk0kada (he/him)(BTW, forget about the IFD, you're not doing it in this case, just eager evaluating a attrset)21:43:21
@k0kada:matrix.orgk0kada (he/him)Still, I found a possible way to not use IFD in NDE, just making sure that this will avoid another known issue that I was kinda avoiding to fix it for a few weeks...21:43:58
@k0kada:matrix.orgk0kada (he/him) * Still, I found a possible way to not use IFD in NDE's checks.nix, just making sure that this will avoid another known issue that I was kinda avoiding to fix it for a few weeks... 21:44:08
@ckie:ckie.devmei 🌒& k0kada: oh, when I checked it out I saw that right away and commented it out but then I needed the cpu for something else so I never got to see that build finish 21:50:32
@k0kada:matrix.orgk0kada (he/him)Yeah, I mean, it was really an obvious issue (at least for those familiar with the code)21:51:13
@k0kada:matrix.orgk0kada (he/him)It was just that I am tied, it is almost 23hrs here :P21:51:35
@k0kada:matrix.orgk0kada (he/him) * It was just that I am tired, it is almost 23hrs here :P21:51:43
@ckie:ckie.devmei 🌒&2451 here21:51:58
@k0kada:matrix.orgk0kada (he/him)Still, found it fascinating considering the error that we got lol21:52:05
@ckie:ckie.devmei 🌒&for some reason I don't really get tired in the usual way21:52:25
@ckie:ckie.devmei 🌒&usually about 25 hours in my eyes stop wanting to stay open though21:52:36
@k0kada:matrix.orgk0kada (he/him)I mean, I get sleep later on21:53:13
@ckie:ckie.devmei 🌒&also thinking starts to take longer, but yeah21:53:17
@k0kada:matrix.orgk0kada (he/him)But I am already tired at this time21:53:19
@ckie:ckie.devmei 🌒&it'd be neat if i figured out how to be tired though, i don't want that ability :P21:54:02
@k0kada:matrix.orgk0kada (he/him)Well, I used to be like this when I was younger (not that I am that old BTW)21:54:42
@k0kada:matrix.orgk0kada (he/him)Let me reply in the issue just to not lose the patch in the discussion21:56:59
@k0kada:matrix.orgk0kada (he/him)https://github.com/nix-community/nix-doom-emacs/pull/260 Yeah, I am feeling really dumb right now :P22:20:28
@k0kada:matrix.orgk0kada (he/him) I think it also fixes nix flake checks, but I am not completely sure 22:21:40
@k0kada:matrix.orgk0kada (he/him) * I think it also fixes nix flake check, but I am not completely sure 22:21:48
@k0kada:matrix.orgk0kada (he/him)Since I am already here, let me fix a few flake output names22:22:29
@k0kada:matrix.orgk0kada (he/him) ckie (they/them): How much you care about backwards compatibility in the flake outputs? 22:26:36
@k0kada:matrix.orgk0kada (he/him)There is a few things in our flake output that are kinda "wrong"22:26:53

Show newer messages


Back to Room ListRoom Version: 9