Hello. I am new to the Guix GNU+Linux distro. And I’m trying to get the latest version of Anki (2.1.65). However, an older version (2.1.16) is what’s there in the Guix channel (which is too old). I’m reading here that a simple edit to the education.scm file (the version var) would fix it. Unfortunately, the education.scm file in a Guix system is readonly. Unless the guix git repo maintainers update the code, my only option is to make a custom module and package to supply a newer version. Though, I don’t know how to do that (I’m a noobie). I just need help on figuring that out. Any help is appreciated.
You don’t need to make your own module, you really just need a package definition. This (packaging tutorial)[https://guix.gnu.org/en/blog/2018/a-packaging-tutorial-for-guix/] is a bit old but should still be helpful.
An easier method might be to clone the Guix git repo, edit the package definition in
education.scm
, and use (pre-inst-env)[https://guix.gnu.org/manual/en/html_node/Running-Guix-Before-It-Is-Installed.html] to install your newer version.But if you’re going to to that, you might as well just (submit a patch)[https://guix.gnu.org/manual/en/html_node/Submitting-Patches.html] so others can benefit from the new package. If it’s just a version bump, it might be as simple as bumping the version number in the definition!