Thank you for an amazing SeaGL 2024!
Love SeaGL and want to help out? Get Involved
This video recording is archived by the Internet Archive. If you value their service, please consider thanking them with a small donation.

GNU Guix: The Other Functional Package Manager

SeaGL 2023

GNU Guix is a functional package manager – an approach to package management pioneered by Nix. Like Nix, Guix lets you create computing environments (and even entire operating systems) declaratively: you describe what you want and let Guix figure out how to build it. And after over 10 years of development, Guix knows how to build a lot of things. While Nix is quickly becoming more popular among the tech vanguard, Guix is still rather unknown. This is a shame, because Guix is really cool! It has its own well-designed, programmer-friendly perspective on how to do functional package management.

Perhaps the key technical distinction of Guix is its use of Scheme as the package definition language. Scheme is a fantastic choice here for two reasons. The first is that its extensible syntax allows for very high-level package definitions. A simple package looks pretty much like a JSON object, but you still have access to all the power of a modern programming language for when you need it. The second reason is its support for code staging. Guix uses an extended form of code quotation called G-Expressions that makes it easy to write low-level build scripts in terms of high-level concepts.

But Guix also has non-technical distinctions, too. The Guix project has a thoroughgoing commitment to free software. The default package repository only contains free software according to the Free Software Distribution Guidelines. Beyond just licensing concerns, Guix prioritizes the “freedom to modify” by making it relatively painless to maintain patches to any package in your environment. The Guix community has also focused on “bootstrapping” our packages so that even compilers are defined entirely by source code, rather than the common practice of defining them in terms of an opaque binary. It’s the fully transitive “freedom to study”!

Of course, there are reasons Guix might not be for you. That’s okay! Come learn about the very unique approach Guix has taken to free software distribution and see if it inspires you.

Presenters

Timothy Sample

Timothy Sample

Tim is a longtime free software user and enthusiast. Over the past several years, he has been using and contributing to the Guix and Guile projects. Currently, he is working on bootstrapping Guix and ensuring that the source code it references is preserved in and available from the Software Heritage archive.

Resources