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?

36 points

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.

permalink
report
reply
30 points
*

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.

permalink
report
reply
9 points

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
5 points
*

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/

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point
*

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.

permalink
report
parent
reply
13 points

Everyone thinks it’s great, but they actually run NixOS in the meanwhile

permalink
report
reply
12 points

It’s NixOS but more free and with scheme instead of nix

permalink
report
reply
10 points

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.

permalink
report
reply
3 points
*

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.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 9.6K

    Monthly active users

  • 5.8K

    Posts

  • 162K

    Comments