Skip to content

WIP: aarch64-darwin build of Nix#4334

Closed
matthewbauer wants to merge 6 commits intoNixOS:masterfrom
matthewbauer:aarch64-darwin
Closed

WIP: aarch64-darwin build of Nix#4334
matthewbauer wants to merge 6 commits intoNixOS:masterfrom
matthewbauer:aarch64-darwin

Conversation

@matthewbauer
Copy link
Member

This adds a native aarch64-darwin build.

Note this depends on a PR to nixpkgs at NixOS/nixpkgs#105026

libc++10 seems to be stricter on what it allows in variant conversion.
I'm not sure what the rules are here, but this is the minimal change
needed to get through the compilation errors.
For some reason $() is causing the process to hang after running
remote-store.sh. Something in remote-store.sh must be causing
subshells to break. Redirecting to a file works fine though.
@nixos-discourse
Copy link

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:

https://discourse.nixos.org/t/macos-m1-issues/10771/5

@kloenk
Copy link
Member

kloenk commented May 27, 2021

This produced a working nix master on my aarch64-darwin machine (MBP). kloenk@f10d302

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants