!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

Load older messages


SenderMessageTime
1 Sep 2022
@mon:tchncs.deribosomerockerwhich input do you think does IFD?21:19:48
@k0kada:matrix.orgk0kada (he/him)
nix build .\#nixosConfigurations.nixos.config.system.build.toplevel
warning: Git tree '/tmp/nixos-config' is dirty
warning: updating lock file '/tmp/nixos-config/flake.lock':
• Updated input 'nix-doom-emacs':
    'github:nix-community/nix-doom-emacs/ae22b4a3fe31ae31b3e8b415889f8c2c5a77d8dc' (2022-08-26)
  → 'path:/home/thiagoko/Projects/nix-doom-emacs?lastModified=1662067091&narHash=sha256-TiSwq1NWuSaCKEFdmVYuOH5rXKjGmugqjoOVEII1IrU=' (2022-09-01)
warning: Git tree '/tmp/nixos-config' is dirty
warning: found empty hash, assuming 'sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA='

Fixed lol

21:20:40
@k0kada:matrix.orgk0kada (he/him)Going to open a PR21:20:44
@k0kada:matrix.orgk0kada (he/him)
In reply to @mon:tchncs.de
which input do you think does IFD?
Not sure
21:20:55
@k0kada:matrix.orgk0kada (he/him)Oh duh, now I am feeling stupid Of course I could have done this in a better way :P21:22:00
@k0kada:matrix.orgk0kada (he/him) ckie (they/them): probably you're going to laugh at me about this issue, this was one of those PRs that I merged too fast :P 21:22:33
@ckie:ckie.devckie (they/them)hehheh21:24:33
@ckie:ckie.devckie (they/them)nice!21:24:58
@ckie:ckie.devckie (they/them)awaiting the diff21:25:10
@mon:tchncs.deribosomerocker thank you guys so very much for your help ^^ and i'm very sorry for my inexperience, haha 21:26:52
@mon:tchncs.deribosomerocker after the update hits master i'll give it a test and close the issue when i verify it works for my system 21:27:09
@mon:tchncs.deribosomerocker and i'll try to improve the docs 21:27:20
@mon:tchncs.deribosomerockerabout 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:matrix.orgk0kada (he/him)Don't feel so happy, it still doesn't build21:29:31
@k0kada:matrix.orgk0kada (he/him)But at least the errors will make sense I think21:29:37
@mon:tchncs.deribosomerocker it's still a cause for celebration, i think 😄 21:30:04
@mon:tchncs.deribosomerocker though it seems to be 12 a.m. right now. i'll tune in tomorrow! 21:31:39
@k0kada:matrix.orgk0kada (he/him)Huh... This is still really strange21:33:22
@k0kada:matrix.orgk0kada (he/him)Ok, so let me explain what is happening21:33:29
@k0kada:matrix.orgk0kada (he/him) For some reason (probably a IFD), your config is trying to build the checks from NDE 21:33:46
@k0kada:matrix.orgk0kada (he/him) And the checks used to have an IFD inside the flake.nix (bad idea!) 21:34:13
@k0kada:matrix.orgk0kada (he/him)I removed it, but for some reason that I can't grasp21:34:24
@k0kada:matrix.orgk0kada (he/him)Your config is still evaluating checks21:34:35
@k0kada:matrix.orgk0kada (he/him)Even removing the IFD it seems your config tries to build the checks21:35:19
@k0kada:matrix.orgk0kada (he/him) Let me run a nix flake check to see if I removed the IFD 21:36:45
@k0kada:matrix.orgk0kada (he/him)Arghh, I think I found the issue21:38:08
@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

Show newer messages


Back to Room ListRoom Version: 9