this post was submitted on 15 Jul 2023
12 points (100.0% liked)

Guix

274 readers
1 users here now

Guix is an advanced distribution of the GNU operating system developed by the GNU Project

founded 4 years ago
MODERATORS
 

Hey all. Can anyone recommend me a path or some resouces how I could more learn about Guix? I know packaging is a large part of Guix, yet the information on how to package, or contribute in providing packages seems little difficult to find. Thank you.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago (1 children)

Hi!

First and foremost, if you haven't had a look at the Guix manual yet, I recommend starting with that; this is usually my first stop when I'm working on anything Guix-related and come across something I'm not sure how to do. For packaging in particular, I would start with the package reference section.

Perhaps you might find example-oriented resources helpful, too. Here are some links that I included in my notes as helpful guides during my first time making a package definition:

In addition to the above, consider browsing the Guix repository which hosts a practically infinite store of examples for you to sift through and learn from.

Depending on what you're packaging, you might also find it useful to look at the Nixpkgs equivalent (if it exists) which you can draw some similarities to. I don't often do this though and sometimes it can make things more confusing since it's not always a 1-1 match, but I want to put it on the table nevertheless.

Lastly - there might be times you'll encounter confusing errors or maybe you have a question that the above resources can't really help with: I highly recommend searching through the Guix IRC channel archive (or joining it!). The more experienced bunch of Guix users (and developers too) can often be found there sharing their great wisdoms. I frequent the logs often, which have been so immensely helpful to me that I wrote a script to scrape the archive so I can search through them more easily with grep.

[–] [email protected] 4 points 1 year ago

Thank you very much! All the links are extremely helpful for a recent Guix user like me. ❤️

[–] [email protected] 7 points 1 year ago (1 children)

If you also want more general knowledge about Guix, I recommend the Systemcrafter channel on YouTube.

[–] [email protected] 3 points 1 year ago

Thank you. System crafters YT channel is amazing. I found out about emacs and guix there. Although getting guix running at all is a challenge when the hardware you have, can't run on libre-linux. Next PC will have to have libreboot for me, hehe :P