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?

  • nuclide@lemmy.world
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    6 months ago

    I love it! I went all in on it about a year ago and haven’t looked back ever since

  • axelf@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    Using Scheme instead of a purely functional language like Nix as the Nix/Guix expression language is a bold choice I am not sure I agree with.

    • iopq@lemmy.world
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      It’s actually easier this way because you keep everything in one place.

      I edited some file on Ubuntu to merge my audio channels into one because one of my speakers broke. Do you think I know what change I made to what file now? When I update, do you think I can merge my changes with the new file and make everything work? Of course not, I am several years into forgetting what I did

      But configuration.nix is one file, I usually get a deprecation notice for some stuff and just change a line here and there from time to time. All of my changes are in there and they are in git. When I switched to flakes I also added flake.nix in there, but it’s still just two files in one folder I play around with. Not only that, but the maintainers already gave me the options I need for my services. I don’t have to follow some guide online to set something up, I just enable it and it works immediately.

      For example, enabling iwd is:

      networking.wireless.iwd.enable = true;
      

      I just did that and it worked. I commented it out and it went back to whatever the default package is. Is this as easy to toggle back and forth in other distros?

    • Ramin Honary@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      6 months ago

      Using Scheme instead of a purely functional language like Nix as the Nix/Guix expression language is a bold choice I am not sure I agree with.

      Scheme is the most functional of all non-purely-functional languages that I know of. What’s more, the parts of Guix in which packages are defined are quite pure, even using monads for some things, so it is really not too different from the Nix language.

        • jaeme@lemmy.ml
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          6 months ago

          Guile Scheme is the official extensions language for the GNU Project. Guile and Guix’s history often intersect as Guix is seen as the shining poster child of Guile and contributes to a lot of Guile’s development.

          When you say “Scheme” you should also refer to what type of Scheme you’re referring to as there are multiple with different feature sets/goals.

  • Ramin Honary@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    6 months ago

    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.

    • Atemu@lemmy.ml
      link
      fedilink
      arrow-up
      0
      ·
      6 months ago

      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.

      • jaeme@lemmy.ml
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        6 months ago

        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.

        • Atemu@lemmy.ml
          link
          fedilink
          arrow-up
          0
          ·
          6 months ago

          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 @[email protected] 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.

          • jaeme@lemmy.ml
            link
            fedilink
            arrow-up
            0
            arrow-down
            1
            ·
            6 months ago

            That’s a bit disingenuous wording as modern hardware that can run without proprietary firmware is an absolute rarity at this point.

            But it’s not impossible, nor is it something that can’t be solved in the future with CPU architectures like RISC-V.

            The project should have really kept the GuixSD name. Much clearer separation and also sounds a lot better.

            Agreed.

            package managers who attempt to sweep nonfree software under the rug and try to make the issue invisible.

            I should have been more clear, excluding nonfree blobs were widely decided to be a lost cause across the distribution space. The final being Debian very recently. Tbh I do sometimes wish that Guix took the Nix approach with hardware-configuration.nix, but the fact remains is that the Guix maintainers do not wish to maintain nonfree packages and I respect that decision as Guix doesn’t go out of its way to prevent others from installing the nonfree blobs/packages themselves.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    I tried it out one single time and it failed to install or update or something. Had to then find all the places it had inserted itself into in my system. Later I found out it’s based on some LISP variant. Even later I found out you can’t install firefox with it because of gnu or something?
    That all combined dissuaded me from touching it again.

    nix has terrible documentation, but it’s kinda worked for me, so I’m sticking with it.

    • jaeme@lemmy.ml
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      Later I found out it’s based on some LISP variant.

      Wait how did you find out it was written in Scheme after you installed it? Sounds like someone didn’t do their research.

      firefox

      Mozilla is picky with where their trademark is being used, not a “GNU specific” problem, it had affected Debian for years before Mozilla backed off. Guix instead uses GNU Icecat which is a completely libre web browser that doesn’t run proprietary JS by default. Of course you can still install Firefox since Guix community members have already packaged it in their own channels.

      nix has terrible documentation

      One thing that Guix excels at.

      • onlinepersona@programming.dev
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 months ago

        Wait how did you find out it was written in Scheme after you installed it? Sounds like someone didn’t do their research.

        Yes, I read all specs before installing anything I ever use. Before using the internet I researched the entire IP stack, studied computer science, and am right now using smokes signals captured by a camera at exactly 1 FPS to encode my bits so that you can read them.

        🙄

        One thing that Guix excels at.

        L
        M
        A
        O

        • jaeme@lemmy.ml
          link
          fedilink
          arrow-up
          0
          arrow-down
          1
          ·
          edit-2
          6 months ago

          Yes, I read all specs before installing anything I ever use.

          It’s literally in the front page of the project. https://guix.gnu.org/

          Hackable. It provides Guile Scheme APIs, including high-level embedded domain-specific languages (EDSLs) to define packages and whole-system configurations.

          No idea how you survive Nix’s scattered documentation.

          L
          M
          A
          O

          lmao.

  • Octorine@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    6 months ago

    I tried and failed to install it on my laptop last year. Couldn’t figure out the problem and went back to pop. I’m messing around with it in a vm, though, and liking it a lot. I may try again when I have some more time to troubleshoot.

    • jaeme@lemmy.ml
      link
      fedilink
      arrow-up
      0
      arrow-down
      1
      ·
      6 months ago

      OP didn’t clarify whether they were talking about Guix System or Guix the package manager, but a great use case for Guix (and for Nix as well) is it can be installed on top of a stable distro (or a distro that provides binary blobs) like Debian or POP!_OS to get the latest versions of desired packages.

      Just wanted to mention that.

  • McKee@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    1
    ·
    6 months ago

    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.