by nextos · 9y ago · 0 comments
I've found Guix and GuixSD, which are a GNU-blessed Guile Scheme-based reimplementation of Nix and NixOS, more aesthetically pleasing. Quite simple and elegant in fact.
The major differences are that Guix DSLs are implemented on top of Scheme, whereas Nix uses a custom DSL. Furthermore, Guix avoids systemd and uses GNU herd instead.
Guix's use of Scheme is a lot more elegant and powerful, and a lot less hacky than bash.
For a complete explanation of this design, see the "Code Staging in GNU Guix" paper: https://arxiv.org/abs/1709.00833
I'm not sure what you mean by that. Nix packages are Nix expressions.
Herd/Hurd is a kernel, not an init system, although since systemd is Linux only, using a different kernel implies using a non-systemd init system.
herd is the commandname of Shepherd client:
Anyway... :)
There’s no good choice here: Nix package definitions and tools are inscrutable and user-hostile; and the alternative Guix is burden with GNU/free software zealotry and GPL.
A somewhat comparable third option is Habitat, from Chef. It also has a pure build system, a package source, and pure, discrete environments. But it’s also got a bunch of service orchestration parts...
Hopefully the Nix redesign will make the tools more palatable for mortals.
The only notable omission is linux, as Guix is based on linux-libre instead. But changing this is a matter of 1 LOC.
And how difficult is it for a new user to find that line?
https://www.gnu.org/software/guix/manual/html_node/Invoking-...
It's over a year that I first read about Nix and they talked about the redesign.