[Nix-dev] How to use binaries from other hosts?
Oliver Charles
ollie at ocharles.org.uk
Mon Mar 14 10:14:13 CET 2016
On Mon, Mar 14, 2016 at 9:08 AM Matthias Beyer <mail at beyermatthias.de>
wrote:
> Hi,
>
> I'm on nixos unstable. As racket does not build and my thinkpad takes
> hours to
> build it, I got myself a debian VM in my university cloud and compiled
> racket
> there.
>
> How can I retrieve the closure from there?
>
> I tried _everything_. I cannot nix-copy-closure, as this one does not
> allow me
> to set the SSH port (which isn't 22 but something above 10000).
>
Can you change the port by adding an entry to .ssh/config? That should
allow you to set the port, and I believe nix-copy-closure just calls SSH.
You might need to use /etc/sshd/config, as I'm not sure what user it's
actually making the ssh connection as.
- ocharles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160314/eabc8fc6/attachment.html
More information about the nix-dev
mailing list