guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Substitutes from multiple server


From: Thompson, David
Subject: Re: Substitutes from multiple server
Date: Wed, 28 Oct 2015 08:31:03 -0400

On Wed, Oct 28, 2015 at 7:14 AM, Ludovic Courtès <address@hidden> wrote:
> 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.

Awesome!  One step closer to 'guix publish' being a generally useful
tool.  I'd like to run my own substitute server to provide some custom
binaries while fetching everything else from hydra.gnu.org.

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

It will be a great day when these limitations are removed.

Thanks!

- Dave



reply via email to

[Prev in Thread] Current Thread [Next in Thread]