News for hackers. Stuff that matters.
Re:The guide to software development with Guix by ducktective on Thursday June 08, 2023 @08:30AM (#36240778)
I think with the introduction of Nickel [1], Nix packages would be rewritten in it over time, which may be a good thing (types) or a bad thing (another fragmentation after flakes) depending on your point of view.

On the other hand, Guile is not a DSL but a general purpose language or a Lisp (Scheme to be exact), so it's not actually a downside compared to a DSL in my view.

I myself am torn between these two. Nix community is larger and they have more packages. Guix, being a GNU project, obsessing over ""non-free"" sure won't help in its adoption. Even debian folks toned down their stance on this, why couldn't Guix do so too?

[1]: https://github.com/tweag/nickel

Re:The guide to software development with Guix by rekado on Thursday June 08, 2023 @08:36AM (#36240850)
> Guix, being a GNU project, obsessing over nON-fReE

As a long time contributor to Guix I find that the "obsessing" is regularly done by others when talking about GNU. There's enough useful free software out there that needs packaging, and that's what I do. I don't need the extra headache of special snowflake licenses or custom restrictions.

For nonfree software that doesn't have a popular alternative I contribute to guix-science-nonfree. It's barely an inconvenience for users to expressly add another channel to their Guix installation.

Re:The guide to software development with Guix by accelbred on Thursday June 08, 2023 @09:00AM (#36241147)
When I used Guix, I needed nonfree for Firefox and the upstream Linux kernel. I also prefer to only use free software, and also like them not including proprietary software.

Needing a channel was a huge inconvenience as you would often pull your channels and stuff would break, as guix was updated but non-guix wasn't. Managing channel manifests was a pain. Firefox would often be months out of date as well.

Moved to NixOS, didn't enable allowUnfree, and had an actually up to date and simple to maintain system. Flakes solves the channels problems too. I had put a lot of effort into making Guix work, but it just had too many usabiltity issues, and the policy on firefox was a major one.

Re:The guide to software development with Guix by davexunit on Thursday June 08, 2023 @09:28AM (#36241536)
Counter anecodate: I use guix + the nonguix channel for firefox, linux, etc. and it has been smooth sailing for quite some time.
Re:The guide to software development with Guix by Kalq on Thursday June 08, 2023 @10:43AM (#36242678)
I'm not sure how long ago you used Guix, but in my experience, modern day nonguix is very up to date with Firefox and upstream Linux. Combined with things like Guix shell, time machine, and pinning specific commits, I find things have not broken for me in ways that I couldn't easily resolve in a few minutes in a long time.
Re:The guide to software development with Guix by nyberg on Thursday June 08, 2023 @11:02AM (#36243027)
I've been using guix since 0.15.0 and haven't seen it as much of an issue. Sure, channels will sometimes be out of sync with the latest commit but that's to be expected given that you're likely not following a version cut but rather the latest commit. It's easy enough to bump the package locally (inherit, etc) or contribute an update which solves this for everyone.

Needing channels for non-free is a feature as the system will be pure by default and can make progress towards fully reproducible builds for all packages rather than having several blessed non-free blobs around that drain maintainance time.

For the record, I use linux-nonfree, amdgpu, iwlwifi, firefox, and steam.

Re:The guide to software development with Guix by b3n on Thursday June 08, 2023 @03:05PM (#36246977)
Guix comes with a service for using Nix packages[1], if that's what you want. It's very simple to setup, and would allow you to use Nix's Firefox package without any issue.

[1] https://guix.gnu.org/manual/en/html_node/Miscellaneous-Servi...

Re:The guide to software development with Guix by ryan77627 on Thursday June 08, 2023 @11:42AM (#36243788)
I've been using Guix for a bit over 2 months at this point and honestly the whole 'non-free' software thing has not been an issue in the slightest. Use the System Crafters installation iso [1] to get around driver issues on install, and then the only time I've ever had the system complain to me was it warning me one of my hardware components wouldn't work (which it did, since the System Crafters ISO uses the standard Linux kernel). Afterwards, just add nonguix (and I even added Nix as well, so I get the best of both worlds!) If a package isn't in Guix and I don't want to make a package definition, I simply pull it using Nix home-manager. May not be the best or 'proper' setup, but I find it works well enough. [2]

[1]: https://github.com/SystemCrafters/guix-installer/releases

[2]: https://g.stationery.lol/ryan77627/guix-dotfiles

Re:The guide to software development with Guix by ducktective on Thursday June 08, 2023 @12:49PM (#36244914)
For installation and setting up something as basic as drivers, we should follow a non-official guide?
Re:The guide to software development with Guix by orbital-decay on Thursday June 08, 2023 @01:20PM (#36245396)
Yes if your only connection is wi-fi with drivers that require nonfree firmware, which is missing from the official ISO. You're supposed to discuss nonfree software in some non-official place too. That's what been stopping me as well; the system seems technically superior to Nix and not nearly as chaotic, but hardcore FOSS idealism makes it impractical sometimes.
Re:The guide to software development with Guix by ryan77627 on Thursday June 08, 2023 @06:07PM (#36249891)
I will admit, I was hesitant as well, but so far it's been fine. The #guix community on libera.chat is very active and has been nothing short of amazing in helping me understand the ins and outs of Guix. For any non-free software I use, #nonguix in libera.chat exists. It's less active but still pretty active (plus I pop in occasionally).
Re:The guide to software development with Guix by ryan77627 on Thursday June 08, 2023 @06:05PM (#36249867)
No, feel free to use the official guide, it's still very, very, very helpful. Yes, you do need to use an unofficial image, but that's just if you have hardware that requires non-free drivers (or blobbed drivers, Guix uses Linux-Libre by default).

Not the best of circumstances, I know, but it works (plus if you really wanted to, they give the derivation details in the release notes so you could just spin up a Guix VM which runs fine with the default image and generate the image yourself).

Re:The guide to software development with Guix by pxc on Thursday June 08, 2023 @02:01PM (#36246006)
> I myself am torn between these two.

As a regular Nix user and occasional Guix dabbler, I think you really can't go wrong either way. I feel that Guix often gets short shrift here on HN, but at the end of the day it's a really thoughtfully designed project with a capable community and great documentation.

Re:The guide to software development with Guix by t0astbread on Thursday June 08, 2023 @02:06PM (#36246094)
For the record, Nix doesn't let you install unfree packages by default either. You have to flip a flag to allow it and you can also supply a predicate to conditionally approve unfree packages (https://nixos.org/manual/nixpkgs/stable/#sec-allow-unfree).