all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Substitutes from multiple server
@ 2015-10-28 11:14 Ludovic Courtès
  2015-10-28 12:31 ` Thompson, David
  2015-10-28 15:01 ` Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Ludovic Courtès @ 2015-10-28 11:14 UTC (permalink / raw)
  To: guix-devel

It’s now possible to really use multiple substitute servers, as in:

  guix build foo --substitute-urls='http://example.org http://hydra.gnu.org'

Here Guix first looks for substitutes at example.org, and then falls
back to gnu.org for those that were not found.

The basics were in place but commit 55b2fc1 adds the missing bits.

Unfortunately, due to <http://bugs.gnu.org/20217>, the daemon’s
--substitute-urls is overridden by clients, so you really have to pass
--substitute-urls to various ‘guix’ commands.

Unfortunately², because URLs are whitespace-separated, one cannot put
the option in the ‘GUIX_BUILD_OPTIONS’ environment variable, because
that one is simply split up using ‘string-tokenize’.

Anyway, future work!

Ludo’.

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

end of thread, other threads:[~2015-10-28 15:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-28 11:14 Substitutes from multiple server Ludovic Courtès
2015-10-28 12:31 ` Thompson, David
2015-10-28 15:01 ` 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.