unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guix-devel <guix-devel@gnu.org>
Subject: Substitutes from multiple server
Date: Wed, 28 Oct 2015 12:14:31 +0100	[thread overview]
Message-ID: <87eggf9re0.fsf@gnu.org> (raw)

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’.

             reply	other threads:[~2015-10-28 11:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 11:14 Ludovic Courtès [this message]
2015-10-28 12:31 ` Substitutes from multiple server Thompson, David
2015-10-28 15:01 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87eggf9re0.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).