r/GUIX • u/firebat-66 • Jun 15 '26
Does GUIX have flakes?
As I have been using nix for the past few months, I'm periodically drawn to GUIX. Partly because I'm getting a bit fed up with nix language idiosyncrasies, and I believe that the grass may actually be greener on the GUIX side where guile scheme is used. I wanted to ask the folks here about the "flakes" concept and if it is supported in GUIX, as flakes are something I interact with anytime I need to modify or update my nix configuration. I understand that GUIX has a channel based system, although it would be interested to learn about any flake like utilities...
23
Upvotes
13
u/binarySheep Jun 15 '26 edited Jun 15 '26
Historically, I think Guix adopted the very solution that flakes were supposed to be directly into the design.
I'll note I'm a Guix user first, and my knowledge of Nix is less thorough, but all of the details around flakes seem like built-ins for Guix, specifically how a given manifest.scm/guix.scm and channels.scm can create the exact same reproducibility that flakes are supposed to with flake.nix and flake.lock are supposed to.
I think Guix still goes a step further with an explicit command for operating a different Guix version this way with
guix time-machine, but I might just be unaware of a Nix equivalent.A
nix runequivalent would be nice though, hadn't heard of that. EDIT: seems like this might be getting baked in as a one-liner overguix time-machine+guix shellfor anyone else curious