!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

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

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


SenderMessageTime
7 Sep 2023
@ckie:ckie.devckie (they/them)vaguely. not sure if that's precisely the right one13:57:45
@ckie:ckie.devckie (they/them)yeah this isn't the right one14:00:01
@ckie:ckie.devckie (they/them) I think I was thinking of [RFC 0092] Computed derivations but it's been >a year, need to reread 14:02:38
@JoelMcCracken:matrix.orgJoelMcCrackenyeah i don't know14:03:33
@JoelMcCracken:matrix.orgJoelMcCracken

i imagine it would work like:

  • a user picks a package to install from a list
  • nix installs it
  • emacs loads it within the running process
14:05:37
@ckie:ckie.devckie (they/them)mhm, it's essentially tearing out the parts of straight&emacs that do network I/O into their own emacs, running inside a nix build14:06:42
@ckie:ckie.devckie (they/them)which works happily for the top-level imperative emacs usecase (editing your config before rebuilding) but you want to have all of these prefetched in the build process once you're ready to deploy it to your 'prod' machine14:07:22
@ckie:ckie.devckie (they/them)recursive nix isn't actually a hard dependency-- we can crudely and inefficiently emulate it, but it would make this much more streamlined since it would run through approximately the same codepath in both imperative/Nix sandbox 14:08:44
@ckie:ckie.devckie (they/them) * recursive nix isn't actually a hard dependency-- we can crudely and inefficiently emulate it, but it would make this much more streamlined since it would run through approximately the same codepath in both the imperative/Nix sandbox usecases14:08:49
@JoelMcCracken:matrix.orgJoelMcCrackenyeah 14:08:55
@JoelMcCracken:matrix.orgJoelMcCrackenwell it depends, what you mean specifically by recursive nix i guess14:09:27

Show newer messages


Back to Room ListRoom Version: 9