On Wednesday, February 5th, 2025 at 12:27 AM, Carlo Zancanaro <ca...@zancanaro.id.au> wrote:
> There are three cases here, which get harder as we go along: > > If the version you want is still packaged in Guix (which sometimes has > multiple versions of a package) then this is easy: just use the version > you want. > > If the version you want is not packaged in Guix, but was in the past, > then you can do this by using time-machine, as Cayetano Santos > mentioned. Doing it that way requires all the packages in your > environment to come from the same version of Guix, which might be too > drastic for your use. You can pull a single package from a specific > prior revision of Guix using inferiors (documented in the manual under > "(guix) Inferiors"[1]). Interestingly, it looks like Guix skipped Erlang > 22. The upgrade in aa8df16bc5ca99615188b4f1e94a0e13c1e51d3a went from > 21.3.8.13 to 23.2.1. It may sound silly but what's the easiest way to find that commit ref? > > If you can't use time-machine or inferiors (as with Erlang 22) then > another option is to define your own version of a package for your > environment. Gotcha. Another package I would surely need is Solr, which is not packaged. I suppose defining my own packages is a mandatory skill to use guix as isolated dev envs. Thank you people, I got a clearer idea now: - need to start with the basics of packaging - need to master time-machine and inferiors Cheers! Carlo