A minimal, declarative setup for productive Rust 🦀 hacking on Emacs + Guix

https://jointhefreeworld.org/blog/articles/rust/simple-guix-emacs-rust-development-environment/index.html

I noticed there was a blatant lack of resources and documentation on this particular setup.

With a tiny manifest and a small Emacs configuration, you get a powerful, reproducible, elegant Rust development environment.

#rust #guix #emacs #dev #manifest #shell #development #environment #ide #clippy #lsp #gnu #reproducible #direnv #eglot

@jjba23 thank you very much for the blog post, it does answer some of my interrogations about that kind of setup. One remark, for a truly reproducible environment, one need to know which version of guix was used. I’ve seen people committing not only `manifest.scm`, but also `channels.scm` for that, and then replace `guix shell` with `guix time-machine -C channels.scm — shell`.
@woshilapin you are very right! I still need to improve my guix-fu to fully grok channels and time machine.
@jjba23 This is the blog post I've been waiting for! Always wondered how other people managed the quagmire of #Emacs configuration for #Rust development.

@jjba23 Neat! If you want, you can submit a pull request to add a variant of this post as a section of the Guix Cookbook 👇
https://guix.gnu.org/cookbook/en/html_node/

We have too few Guix-for-development howtos.

Top (GNU Guix Cookbook)

Top (GNU Guix Cookbook)