-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error when trying to build nomad master on apple M2 #5
Comments
Hi @valodzka it looks like you're using Nix, and I suspect that's related. Building Nomad works fine for me using just a normal
|
Yes, it's build using nix-shell (very basic only for go installation and without isolation so I'm not sure if it is related).
For the reference v1.5.2 is working for me:
|
So if I lookup IOKit in the System Info app, I see
And I think you'd also need the CoreFoundation framework,
|
It seems that Nix is using an older SDK. This should be fixed by #6. |
m1cpu was only added to nomad after the 1.5.2 release: hashicorp/nomad#16672 |
https://github.com/shoenig/go-m1cpu/releases/tag/v0.1.5 which may also help with the Nix package for Nomad, which makes use of the older IOKit framework version shoenig/go-m1cpu#5
https://github.com/shoenig/go-m1cpu/releases/tag/v0.1.5 which may also help with the Nix package for Nomad, which makes use of the older IOKit framework version shoenig/go-m1cpu#5
@valodzka can you try again building Nomad from |
Yes, it works now. |
https://github.com/shoenig/go-m1cpu/releases/tag/v0.1.5 which may also help with the Nix package for Nomad, which makes use of the older IOKit framework version shoenig/go-m1cpu#5
interestingly enough I'm still getting this issue on an M2 for both nomad and rclone. I am also using NIX. It appears that rclone very recently updated the go-m1cpu to |
The text was updated successfully, but these errors were encountered: