9 Aug 2023 |
mei 🌒& | * 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 |
mei 🌒& | * 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 | ahhhhhh | 19:50:16 |
mei 🌒& | 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 | sure | 19:50:55 |
mei 🌒& | so that's done here atm | 19:51:55 |
JoelMcCracken | this seems to be the key https://github.com/radian-software/straight.el/blob/master/straight.el#L3022 | 19:54:45 |
mei 🌒& | i feel that comment on 3031 | 19:55:36 |
mei 🌒& | so essentially we need to determine a good spot to splice Nix in | 19:56:38 |