| 1 Sep 2022 |
ribosomerocker | about the FAQ part in the issue about support requests, are you guys willing to create a wiki for your repository that has docs about your project? | 21:27:46 |
k0kada (he/him) | Don't feel so happy, it still doesn't build | 21:29:31 |
k0kada (he/him) | But at least the errors will make sense I think | 21:29:37 |
ribosomerocker | it's still a cause for celebration, i think 😄 | 21:30:04 |
ribosomerocker | though it seems to be 12 a.m. right now. i'll tune in tomorrow! | 21:31:39 |
k0kada (he/him) | Huh... This is still really strange | 21:33:22 |
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 |