Reposting because it looks like federation failed.
I was just reading about it, it sounds like a pretty cool OS and package manager. Has anyone actually used it?
The idea behind it really appeals to me. However, Guix is so niche that I felt like it was not worth the effort to actually daily drive it. I went the NixOS way instead and have been daily driving it now for almost 2years. I’m really satisfied with the paradigm immutable and reproducible os. I also manage my servers this way and it makes it really easy to rollback stuff.
The learning curve is the same as for any language but you have to relearn how to manage an os this way as it can be really different than a trad os. It forces you to really understand for example how packages traditionally expect to link to various libs available on your system.
So I think Guix (and Nix) is the most technologically advanced package manager in existence, and I hope someday all package managers work like Guix.
One other very interesting feature about Guix (which I don’t think Nix is doing yet) (which Nix also does) is that they have implemented a fully verifiable bootstrap, meaning every step of building the kernel, including the steps taken to build the C compiler toolchain, are produced by code that is simple enough for a group of humans to check for correctness and safety. Also, every step of the build process exists in the package repository, with no reliance on externally built binaries for anything, not even the C compiler toolchain. They accomplish this with a multi-phase bootstrap process, where a smaller, simpler C compiler is used to build GCC.
Do I use Guix? Well, no. Simply put, it is not quite to the point where it just works on a lot of the computer hardware that I own. With a bit more work, with a few more developers, and a bit more money invested, Guix could pretty soon become as reliable and useful as Debian or Fedora. But it is not quite there yet. And frankly, I have other more important things to do than worry about debugging problems with the operating system I am using.
meaning every step of building the kernel, including the steps taken to build the C compiler toolchain, are produced by code that is simple enough to check for correctness and safety.
Full-source bootstrap isn’t about just the kernel, it affects every piece of software. With GUIX and Nix, every single package can be fully traced back to the bootstrap seed.
Though it should be noted that you do require a running Linux kernel on an x86 machine in order to bootstrap.
it is not quite to the point where it /just works/ on a lot of the computer hardware that I own.
Unless we get some serious money, effort and/or regulation w.r.t. OSS firmware, that will likely never be the case.
That has nothing to do with its technology though, that’s a political issue. GUIX is a GNU project and acts like proprietary software does not exist/is not a basic necessity in 2023.
GUIX is a GNU project and acts like proprietary software does not exist/is not a basic necessity in 2023.
Gross oversimplification, Guix absolutely knows that proprietary software exists, but also Guix is a project that values transparent build process (unlike Nix, which allows binaries and nonfree packages).
If you don’t have the requisite bare metal to run Guix by itself, you can run it as a foreign package manager (on top of your existing distribution), in a virtual machine, or alongside package channels outside of guix that package nonfree software.
The linux-libre kernel is only an issue for Guix System (the analogue to NixOS for Nix) and for users who need that specific hardware to be used. Guix is a breath of fresh air in package managers who attempt to sweep nonfree software under the rug and try to make the issue invisible.
If you don’t have the requisite bare metal to run Guix by itself
That’s a bit disingenuous wording as modern hardware that can run without proprietary firmware is an absolute rarity at this point.
The vast majority of people on earth do not have access to such hardware.
The linux-libre kernel is only an issue for Guix System (the analogue to NixOS for Nix)
Point taken. I was talking about the OS aspect of both though, given that @Ramin_HAL9001@lemmy.ml compared it to Debian and Fedora.
The project should have really kept the GuixSD name. Much clearer separation and also sounds a lot better.
package managers who attempt to sweep nonfree software under the rug and try to make the issue invisible.
Which ones?
In Nix, you get a giant red error when you try to eval unfree software and need to explicitly opt-in.
Nix is also working on reproducible builds. In fact, the minimal installation CD for NixOS last release was reproducible. https://discourse.nixos.org/t/nixos-reproducible-builds-minimal-installation-iso-successfully-independently-rebuilt/34756/
Another interesting thing about Guix is that it compiles everything itself (with an option to outsource the heavy lifting in case you’re on a Raspberry Pi or something). Layers of abstraction not talking to each other properly is a conceptual pet peeve of mine, so I like the idea of everything being visible to the compiler like that.
As far as I understand it, Guix will download pre-built binaries for most packages from a cache by default, and the Guix OS distribution makes sure the x86_64 binaries for the latest package descriptions are always cached, so you should usually not have to locally build packages.
But of course you can easily tweak the default configuration of packages you install and trigger a local re-build of those packages, since changing the configuration of any package causes a cache miss.
Everyone thinks it’s great, but they actually run NixOS in the meanwhile
It’s NixOS but more free and with scheme instead of nix
Guix is almost like nix but with scheme, right? Any other differences?
I do like scheme. Nix is quite impressive. But my unpopular opinion is I am not convinced it’s philosophy is necessary. Nix feels like a workaround to legacy baggage in POSIX to allow for all its features of full reproducibility of packages and the overall system. Although Gentoo is not exactly reproducible, I feel like the level of control is sufficient to give me the benefits I want.
Nix works for maybe 95% of cases, but the 5% where its workarounds do not work sre annoying to deal with. Gentoo on the other hand doesn’t break so much from the traditional unix way of doing things, but still grants the user a great load of freedom and choice.
Based on what I’ve heard so far: GNU Shepard instead of systemd, a package manager that compiles things from source and allows user-defined compiler options, a totally different way of arranging system files, and Guile-Scheme is used for everything; it sounds like there’s no other kind of configuration anywhere.
It also uses Linux-libre by default, although you can go back to plain Linux, and they’re working on Hurd.
The biggest difference between Nix and Guix is that Guix doesn’t support non-foss software, meaning you can’t use it as a package manager on other operating systems. I originally wanted to use Guix but use a Mac for work, so that became a deal breaker.
Nix is pretty awesome as a package manager, I’ve been happy with it after the truly unnecessary learning curve brutality. I do not imagine I would ever use the full OS though.