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.

Edit: Okay, I totally spaced the text “;; Later versions have dependencies on npm packages not yet in Guix.”. So, for anki to be at version 2.1.65, it needs more npm packages. So, no modern anki right now… However, I did get to learn more about Guix packaging! (I just have to use the flatpak ver as one comment suggested)

  • GNUmer
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    Have you tried guix edit anki? In addition, I’d like to point out that you also need the sha256 checksum of the release to correctly build it.

    TL;DR: Go to the Anki GitHub repo (or whatever forge Anki uses), fetch the sha256 checksum of release 2.1.65, guix edit anki and update the version number and the checksum.

    For more detailed information, read https://guix.gnu.org/blog/2018/a-packaging-tutorial-for-guix/

    • 0nextOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      guix edit anki is readonly…