Open ntrp opened 3 months ago
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?
I guess the actual VM is in Nixpkgs but nix-darwin just helps set it up with the system?
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..