-
Notifications
You must be signed in to change notification settings - Fork 41
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
cannot build on 'ssh://root@nix-docker' #29
Comments
This is an issue with the setup not the container. It's trying to resolve nix-docker as a hostname so I'd look at /var/root/.ssh/configt first. |
|
Does it have the correct permissions (600) and ownership? |
I believe so:
|
I stumbled upon this issue also, a year later. I assume that there is a domain name lookup during the test which does not respect the setting in ~/.ssh/config.
In hindsight, the real solution is probably to add the line |
I confirmed that @bxrt method of adding to |
adding the entry to |
I'm following the macOS-nix-docker guide here. I installed
nix-darwin
withand I've set
and
services.nix-daemon.enable = true;
darwin-rebuild switch:
( The warning is because I have a vanilla install of nix as well and hence a
nix.conf
; maybe this would lead to the failure below?)I can ssh as root to the docker builder, but running the test build fails with
Is this an issue with the
nix-daemon
? How can I get it to talk to the docker container?The text was updated successfully, but these errors were encountered: