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