5 ms·
It does slowly happen. There's a new `nix` command (a.k.a. Nix 2.0), which has a better CLI, though it's not yet 100% complete, I believe. But already useful (e
by akavel 8y ago
It does slowly happen. There's a new `nix` command (a.k.a. Nix 2.0), which has a better CLI, though it's not yet 100% complete, I believe. But already useful (e.g. `nix search`).
https://nixos.org/nix/manual/#ssec-relnotes-2.0 https://nixos.org/nix/manual/#ssec-relnotes-2.0
- k__ 8y agoNice. Does Guix have a better CLI?
- Ambrevar 8y agoGuix CLI is quite different and I've heard a few times people comparing it favorably to Nix. I haven't used Nix enough to compare myself though.
- civodul 8y agoCompared to Nix 1.x (not sure about 2.x), I think it's simpler to use (Guix co-maintainer here and before that a Nix contributor). This is the reference of 'guix package' (analogous to 'nix-env'): https://gnu.org/s/guix/manual/en/html_node/Invoking-guix-package.html https://gnu.org/s/guix/manual/en/html_node/Invoking-guix-pac... Because it's all Scheme, Guix has well defined APIs for all sorts of things. For instance, there's an API for search paths (environment variables you need to define when you install packages), one to create application bundles, one to create VMs containing GuixSD, etc. That, in turn, leads to clean CLIs in my opinion: 'guix package --search-paths', 'guix pack', 'guix system vm', etc.