Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No support for ssh-ng:// protocol #688

Open
knedlsepp opened this issue Nov 9, 2019 · 1 comment · May be fixed by #1445
Open

No support for ssh-ng:// protocol #688

knedlsepp opened this issue Nov 9, 2019 · 1 comment · May be fixed by #1445
Assignees

Comments

@knedlsepp
Copy link
Member

knedlsepp commented Nov 9, 2019

The most recent version of nix supports coloured build outputs even when doing remote builds by specifying the build machines with the ssh-ng:// protocol in the /etc/nix/machines file.
This in itself works great, however I also have configured a hydra instance on that particular machine. Hydra's parser of the machines file extracts 'ssh-ng://hostname' as the hostname, which results in connection failure. So there currently is no way to have both the coloured build logs on manually triggered builds and a hydra instance running on the same machine. (Not trying to achieve coloured hydra logs here, but that issue is kind of related: #148)

@Ericson2314
Copy link
Member

NixOS/nix#10748 / #1444 takes a big step in this direction. Hydra is finally weened off ad-hoc things, and made to go through the LegacySSHStore interface. Yes, LegacySSHStore is giving some new interfaces just for Hydra, but this how we figure out what the needed interfaces are. We can them implement those same interfaces on SSHStore (ssh-ng://), and then switch over to using that instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants