all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why don't we have "Guix channels"?
@ 2016-12-09  7:29 Chris Marusich
  2016-12-09  7:35 ` Chris Marusich
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Marusich @ 2016-12-09  7:29 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 1443 bytes --]

Hi,

Nix has a feature called "channels".  To quote the docs, "a channel is a
Nix mechanism for distributing Nix expressions and associated binaries"
[1].  It sounds like this includes the nix tools like "nix-build", but
I'm not sure.  In any case, it's clearly similar to "guix pull", but at
first blush channels seems more featureful and more useful.  Here are
some features:

* A user can "subscribe" [2] to multiple channels ("stable", "unstable",
  etc.).

* "Correctness: The channel is only updated to a new revision of
  NixOS/Nixpkgs if it passes certain tests" [3].

* "Efficiency: The channel is only updated after all Hydra builds in
  that revision have finished, *and* all binaries have been mirrored"
  [3].

* "In principle, you can do rollbacks on the channels profile ("nix-env
  -p /nix/var/nix/profiles/per-user/root/channels --rollback") if you
  don't like the result of a 'nix-channel --update'" [3].

These all sound like features which would be nice to have in Guix, so I
wonder: why doesn't Guix have "channels", too?

For more information about Nix channels, see here (Eelco's thesis [4]
includes more technical details - search it for the word "channel"):

[1] https://nixos.org/nixos/manual/#sec-upgrading
[2] https://nixos.org/nix/manual/#sec-channels
[3] https://nixos.org/wiki/Install/remove_software#nix-channels
[4] http://nixos.org/%7Eeelco/pubs/phd-thesis.pdf

-- 
Chris

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-12-09 14:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-12-09  7:29 Why don't we have "Guix channels"? Chris Marusich
2016-12-09  7:35 ` Chris Marusich
2016-12-09 10:09   ` Pjotr Prins
2016-12-09 14:14     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.