-
Notifications
You must be signed in to change notification settings - Fork 92
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
Issues with building m1n1 (nix on macos) #173
Comments
You cannot build it on darwin, you either need to run it in on a vm (I use UTM) or a different NixOS machine |
This is correct, you need a Linux machine to build stuff. Either aarch64 or x86_64 is fine. I suggest using the prebuilt ISO available from the Releases page. Then you don’t have to compile anything yourself. |
I had noticed that but hadn’t had an opportunity to try it or vet it for this application. I guess the actual VM is in Nixpkgs but nix-darwin just helps set it up with the system? Are there docs anywhere? |
AIUI, yes. I'm not sure about more in-depth docs, but the setup is pretty trivial with nix-darwin, works seamlessly. |
Ah ok, I did not even realize there is a prebuilt ISO, works great for me. I will try that one in the meantime! |
Hi I am following the step by step docu and I am stuck on the first step, when I run the command inside the repository I get:
error: flake 'git+file:///Users/ntrp/_pws/nixos-apple-silicon' does not provide attribute 'packages.aarch64-darwin.m1n1', 'legacyPackages.aarch64-darwin.m1n1' or 'm1n1'
Any idea what am I doing wrong? Bear in mind I have nix on macos..
The text was updated successfully, but these errors were encountered: