-
-
Notifications
You must be signed in to change notification settings - Fork 363
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
Can't seem to perform remote builds with Darwin #681
Comments
The gist is, you need to setup remote builders, so that Nix would realize all store paths on darwin. It's something it could support, but noone has ever written proper support for it, although people did have success setting it up manually. |
So at this point I seem to have remote builders set up and have performed a few remote builds. But the remote builds only seem to trigger when I explicitly pass in that the build I am performing is for another architecture. This doesn't seem to happen when I use
I would like to document the process for configuring this if I can get it set up. So far this has been pretty frustrating and I would hate to have anyone else duplicate this effort. |
I would be very interested to know how to set up remote builders @nixy By reading the issues it seems there are several people hitting the same problems (me included), that are already solved (even if only partially). |
I'm merging all darwin issues into one, so discussion is not spread around. See #560 |
I have looked through quite a few issues on this already, but it seems like the remote builds on Darwin don't work as expected. I would expect that once NixOps sets up SSH access it could use a remote box using the "none" provider, that is to say already running NixOS, as a build machine. But instead NixOps attempts to perform the build locally on Darwin hitting assertions that fail because well it's not Linux.
Here are some of the other issues that seem relevant:
It seems that a lot of these seem to refer to a "workaround" that I can't seem to find any documentation for. I though that using $NIX_REMOTE_SYSTEMS I would be able to defer the builds to the remote systems that are already established, but this doesn't seem to work. I imagine I am doing something wrong with attempting to use distributed builds but there isn't a lot of output to help here:
The line about predefined remote systems file seems to indicate that it is attempting to perform a distributed build but it seems to fail silently and resort to attempting a local build.
Any pointers/advice here? Is using NixOps on Darwin not supported? It seems like this is a showstopper for trying to use NixOps on Darwin if this doesn't work out of the box.
The text was updated successfully, but these errors were encountered: