| 1 Sep 2022 |
k0kada (he/him) | Ok, so let me explain what is happening | 21:33:29 |
k0kada (he/him) | For some reason (probably a IFD), your config is trying to build the checks from NDE | 21:33:46 |
k0kada (he/him) | And the checks used to have an IFD inside the flake.nix (bad idea!) | 21:34:13 |
k0kada (he/him) | I removed it, but for some reason that I can't grasp | 21:34:24 |
k0kada (he/him) | Your config is still evaluating checks | 21:34:35 |
k0kada (he/him) | Even removing the IFD it seems your config tries to build the checks | 21:35:19 |
k0kada (he/him) | Let me run a nix flake check to see if I removed the IFD | 21:36:45 |
k0kada (he/him) | Arghh, I think I found the issue | 21:38:08 |
k0kada (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 (he/him) | The issue is in your config in the end | 21:39:38 |
k0kada (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 (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 (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 (he/him) | Case closed | 21:41:27 |
k0kada (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 (he/him) | (BTW, forget about the IFD, you're not doing it in this case, just eager evaluating a attrset) | 21:43:21 |
k0kada (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 (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 |
mei 🌒& | 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 (he/him) | Yeah, I mean, it was really an obvious issue (at least for those familiar with the code) | 21:51:13 |
k0kada (he/him) | It was just that I am tied, it is almost 23hrs here :P | 21:51:35 |
k0kada (he/him) | * It was just that I am tired, it is almost 23hrs here :P | 21:51:43 |
mei 🌒& | 2451 here | 21:51:58 |
k0kada (he/him) | Still, found it fascinating considering the error that we got lol | 21:52:05 |
mei 🌒& | for some reason I don't really get tired in the usual way | 21:52:25 |
mei 🌒& | usually about 25 hours in my eyes stop wanting to stay open though | 21:52:36 |
k0kada (he/him) | I mean, I get sleep later on | 21:53:13 |
mei 🌒& | also thinking starts to take longer, but yeah | 21:53:17 |
k0kada (he/him) | But I am already tired at this time | 21:53:19 |
mei 🌒& | it'd be neat if i figured out how to be tired though, i don't want that ability :P | 21:54:02 |