Elektrine lite

← Feed

@Mehrad@fosstodon.org

Post #2353294

2026-05-06 17:26 UTC

@futurile@mastodon.social @shepherd@fosstodon.org Thanks for the explanation. Apart from the building derivative, the part that takes most time (and is actually annoyingly slow) is starting guix time-machine. All my projects at work are using Guix time-machine and direnv (as explained in the following blog post), and every time I need to switch project, I have to wait for it to "load". Do you happen to know how that can be sped up? https://mehrad.ai/posts/20251106-reproducible-r-enviroment-using-guix/

Replies (1)

  • @shepherd@fosstodon.org 2026-05-06 17:58

    @Mehrad@fosstodon.org @futurile@mastodon.social There is not much you can do with that regard. You should definitely pin the commits of your channels, that way you won't be rebuilding things every time a channel updates. Once the things are cached everything should load immediately. If you are using Emacs I recommend you check out this fork I made of `envrc.el` it allows you to load per-buffer environments asynchronously. My use case is precisely not blocking the editor with `guix time-machine ...`. https://codeberg.org/pastor/ben.el

    Open ##2353295