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?

  • Cyclohexane@lemmy.mlM
    link
    fedilink
    arrow-up
    3
    ·
    1 year ago

    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.

    • CanadaPlus@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      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.

  • Ramin Honary@lemmy.ml
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year 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
      3
      ·
      1 year 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.

  • LainOfTheWired@lemy.lol
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    It looks like a cool distro if you want/need a highly configurable package manager that makes your system easily reproducible.

    But if you’re just looking to learn more about Linux and learn more about how your system is set up then your average distro you might just want to go with Arch, Void, or Gentoo.

  • Spore@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Nobody has mentioned that Guix is readily available on NixOS right now? Add a line to your config and it’s ready to go. Compatible with everything else.

  • frankfurt_schoolgirl [she/her]@hexbear.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year ago

    I think that it’s a great project, and I hope it succeeds. My sense is that there is more momentum around Nix, so for a lot of uses it just makes more sense.

    Guix and Nix both have the same issue imo, which is using a loosely typed language with an odd syntax. I feel like something both strongly typed and with a more common syntax would be easier to edit and faster to evaluate.

    • CanadaPlus@lemmy.sdf.orgOP
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      So, I actually learned about Guix via GNU Shepard. It sounds like NixOS just uses systemd, which I don’t love. Not in a dramatic way, and I’m currently running systemd, but it does break the Unix philosophy.

      A Haskell-based package manager would be pretty dope (seeing as that’s the gold standard for that sort of language). I wonder if someone’s working on it.

  • onlinepersona@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year 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
      1
      ·
      1 year 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.

  • Octorine@midwest.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    1 year 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
      1
      ·
      1 year 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.

      • CanadaPlus@lemmy.sdf.orgOP
        link
        fedilink
        arrow-up
        1
        ·
        1 year ago

        OP didn’t clarify whether they were talking about Guix System or Guix the package manager

        That was actually deliberate. I pretty much figured it’s niche enough to discuss them all together without confusion.

  • Laura@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    It’s like Nix but has some extra features and uses Scheme instead of a custom language.

  • axelf@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    arrow-down
    1
    ·
    1 year 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.

    • Spore@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      1 year ago

      Guix uses Guile everywhere. Nix uses string interpolated Bash and Perl for anything impure.

      Now what do you think?

    • Ramin Honary@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      1 year 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
          1
          ·
          1 year 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.

  • bizdelnick@lemmy.ml
    link
    fedilink
    arrow-up
    0
    arrow-down
    2
    ·
    1 year ago

    I don’t like the idea of configuring pm (or anything else) using a programming language. So I would try nix first if I feel that I need it. However I don’t.