!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

You have reached the beginning of time (for this room).


SenderMessageTime
9 Aug 2023
@ckie:ckie.devmei 🌒& * JoelMcCracken: right so, the emacs shim runs in one go, currently collecting just the package names, and it doesn't have a network connection at this point because it's in a Nix build. the package meta is put into a json file, which is the output of this derivation. next up the nix evaluator parses this JSON, and prepares the next derivation using that: reading another derivation's result is called IFD 19:49:32
@ckie:ckie.devmei 🌒& * JoelMcCracken: right so, the emacs shim runs in one go, currently collecting just the package names, and it doesn't have a network connection at this point because it's in a Nix build. the package meta is put into a json file, which is the output of this derivation. next up the nix evaluator parses this JSON, and prepares the next derivation using that: reading & Importing From a Derivation's result is called IFD 19:49:51
@JoelMcCracken:matrix.orgJoelMcCrackenahhhhhh19:50:16
@ckie:ckie.devmei 🌒& but the trick is we don't always get fully-qualified package paths, sometimes we just get a (package! blahblah-mode), and we have to resolve it 19:50:38
@JoelMcCracken:matrix.orgJoelMcCrackensure19:50:55
@ckie:ckie.devmei 🌒& so that's done here atm 19:51:55
@JoelMcCracken:matrix.orgJoelMcCrackenthis seems to be the key https://github.com/radian-software/straight.el/blob/master/straight.el#L302219:54:45
@ckie:ckie.devmei 🌒&i feel that comment on 303119:55:36
@ckie:ckie.devmei 🌒&so essentially we need to determine a good spot to splice Nix in19:56:38

Show newer messages


Back to Room ListRoom Version: 9