Live data from Hacker News

GNU Guix and GuixSD 0.13.0 released

gnu.org

1–10 of 37 posts

Re: GNU Guix and GuixSD 0.13.0 released

#5

How does Guix relate to Flatpak?

Guix is a functional package manager, Flatpak is not. Flatpak is based on the idea of runtimes (a collection of libraries and toolchains). There is no dependency bundling with Guix and there are no "runtimes" against which binaries are deployed.

Guix provides the tools for bit-reproducible builds, which is why it's used in some HPC environments (including the institute where I work).

Re: GNU Guix and GuixSD 0.13.0 released

#6

What is the current position of guix Vs mix? Is one clearly more popular? Is one "winning" or is this more of a Debian Vs redhat, where both can continue to exist?

Disclaimer: I have been working on Guix since 2014 and use it in production.

Guix and Nix are both implementations of the functional package management idea. Nix has been around for quite a few more years than Guix.

In Guix package expressions are first-class and the DSL is embedded in Guile, a general purpose language, so packaging has a very different feel to it. It also allows for fun tools like "guix graph".

Guix is used in scientific environments (e.g. where I work); I don't know if there are deployments of Nix in HPC environments. I do think that there are more bioinformatics tools packaged for Guix.

Another difference is in how the two projects approach certain problems, such as bootstrapping from binaries. (Guix just got a new Java bootstrap from C.)

There is no rivalry between these projects and members of both projects cooperate in the reproducible builds efforts.

Re: GNU Guix and GuixSD 0.13.0 released

#8
I've had good fun learning to program with Guix lately. It's easy to start packaging software and get contributions into a real project, But it's also a large system, with complex internals that I'm gradually learning more about, like G-Expressions[1]. I'm also studing SICP on the side, so it's nice that they use essentially the same language.

I have high hopes for Guix. I conjecture that GuixSD can become the distro-makers goto basis for creating new systems. Other distros have simpler sh-like languages for building packages, which creates a system which is very much a house of cards. Every time I look at debian package definitions for help, I come out with one extra grey hair. I think Guix can build a much taller house of cards than other packaging systems. For example, suppose you want to build a Audio focused distro, and you'd like a PREEMPT_RT patched kernel, I haven't bothered making this myself but it basically just requires `inherit'-ing the linux-libre package definition, and then adding the PREEMPT_RT patch to the list of patches to be applied. Whenever linux-libre is updated, your linux-libre-lts will automatically include those changes too and be updated. Naturally, incompatible updates can happen that break things, but that is unavoidable. Then, you would create in your git repo all the package definitions and customisations needed, and then finally a file containing the system definition that is the actual distro. Other GuixSD users can try out your distro by running sh $(guix system vm my-super-distro.scm --fallback) to boot up a virtual machine running your system. Or guix system reconfigure my-super-distro.scm will install it on the system in a non destructive way than can be rolled back or reconfigured back to the previous system definition. What's else? Scientific Guix? Educational Guix? One can share git repos including .scm file that can easily be launched to show of their riced desktop without borking other peoples systems? I admit I haven't looked at how debian based distros are made, but I imagine it's not so simple to convert one dpkg based distro into another one and then back again without any destructive changes.

[1] https://www.gnu.org/software/guix/manual/html_node/G_002dExp...

Re: GNU Guix and GuixSD 0.13.0 released

#9
post #6

What is the current position of guix Vs mix? Is one clearly more popular? Is one "winning" or is this more of a Debian Vs redhat, where both can continue to exist?

Disclaimer: I have been working on Guix since 2014 and use it in production. Guix and Nix are both implementations of the functional package management idea. Nix has been around for quite a few more years than Guix. In Guix package expressions are first-class and the DSL is embedded in Guile, a general purpose language, so packaging has a very different feel to it. It also allows for fun tools like "guix graph". Guix…

Ludovic linked to this a couple weeks ago: https://ubc.uu.nl/wp-content/uploads/2017/02/GNU-Guix-for-ma...

Re: GNU Guix and GuixSD 0.13.0 released

#10

What is the current position of guix Vs mix? Is one clearly more popular? Is one "winning" or is this more of a Debian Vs redhat, where both can continue to exist?

Guix is more appealing to people who like Scheme and people who dislike SystemD.

True, however, I've not seen an ounce of animosity towards SystemD in the Guix community. GuixSD merely uses GNU Shepherd because it is being developed specifically to work with Guix and is also written in Guile Scheme.
Post reply on HN