[Nix-dev] Multiple ssh substituter hosts

Bas van Dijk v.dijk.bas at gmail.com
Sun Nov 20 21:16:24 CET 2016


I see. Thanks for pointing me to the source.

I also see that supporting more hosts is listed as a TODO:


https://github.com/NixOS/nix/blob/master/src/download-via-ssh/download-via-ssh.cc#L18

Hopefully that gets implemented some day!

Cheers,

Bas

On 20 November 2016 at 20:13, zimbatm <zimbatm at zimbatm.com> wrote:

> Hi Bas,
>
> It looks like it's only taking the first host from the list[1]. I suppose
> the intention was to provide fallbacks but it didn't get implemented.
>
> [1]: https://github.com/NixOS/nix/blob/master/src/download-via-
> ssh/download-via-ssh.cc#L114
>
>
> On Sun, 20 Nov 2016 at 15:49 Bas van Dijk <v.dijk.bas at gmail.com> wrote:
>
>> Dear all,
>>
>> Is it possible to have multiple ssh-substituter-hosts, as in:
>>
>>   ssh-substituter-hosts = nix-ssh at host1 nix-ssh at host2
>>
>> The documentation[1] is not entirely clear on that.
>>
>> Bas
>>
>> [1] http://nixos.org/nix/manual/#ssec-ssh-substituter
>> _______________________________________________
>> nix-dev mailing list
>> nix-dev at lists.science.uu.nl
>> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20161120/f37b1d0e/attachment-0001.html>


More information about the nix-dev mailing list