Thompson, David wrote: > It's very cool that it works, and I should have done this years ago, > but direnv is an unnecessary middleman for me because I don't use it > for any other purpose. It would be *even cooler* if Emacs could call > 'guix shell --search-paths' directly, parse the result, and update the > buffer environment. Furthemore, it could integrate with project.el > (thus requiring Emacs 28) so that per-project search paths "just > work." The emacs-guix-shell [1] project attempts to do this.
Great work! You might also want to check out a package called buffer-env [1] for this, which is more generally applicable. [2] is a blog post describing one way to use it in Guix. [1] https://github.com/astoff/buffer-env/ [2] https://amodernist.com/texts/emacs-guix.html --