Open zmitchell opened 2 months ago
I've also ensured that I have nix.distributedBuilds = false
.
Alright, I managed to get myself unstuck. Here's what I did:
nix-darwin
pkgs/darwin-rebuild.sh
to include --builders ''
in this line: https://github.com/LnL7/nix-darwin/blob/a55b3f1ab41bb6d5025ebeebb4da5fd240b9b3b3/pkgs/nix-tools/darwin-rebuild.sh#L212nix-darwin
to build my system:
$ nix run .#darwin-rebuild -- switch --flake <path to my flake>
WOOF, that was scary for a bit, but I figured it out 😅
It would be nice if there was a way for the user to pass flags to the underlying nix build
/nix-build
call.
Does darwin-rebuild build --option builders ''
not work?
The config to use the builder may have been in the /etc/nix/nix.conf
file
I made a mistake filling out the configuration for a remote builder (I had the comment part of my SSH key still in there), which now means I can't build my system at all:
I haven't figured out where this setting is or how to delete it so that I can do a fresh build with the correct config.
__build-remote
hook, which finds whatever this setting is and fails because of it.--offline
doesn't work either.So at this point I'm at a loss how to proceed, I'm completely unable to build the system.