Foxboron/go-uefi

Darwin support?

RaitoBezarius opened this issue · 4 comments

Hi there, thank you for the amazing library.

Naive question from my part, but AFAIK, Darwin platforms such x86_64-darwin and aarch64-darwin could be in the scope of UEFI manipulations, right?

From what I see, I think this library depend on some unix.XXX variables which prevent sbctl for example to be built on these machines, do you think it would be a good idea to track support for Darwin in this issue or is this a non-feature for this library?

(To be completely precise, this comes from a failure on NixOS CI for sbctl that I maintain: https://hydra.nixos.org/build/197514784/nixlog/1 which seems to indicate that go-uefi cannot support this target. But this is a more general question for this ecosystem.)

This was fixed with 3068c28 but sbctl hasn't been rebuilt with the new patch. But the project wont work anyway.

I don't have any plans supporting darwin in either sbctl nor go-uefi.

@Foxboron would you suggest me to keep the supported platforms for sbctl to UNIX derivatives?
Thanks for the prompt answer, we can close if you want!

I don't quite see who would implement this on Darwin and then try upstream support for it into sbctl. So keeping it to Linux-only makes sense.

Sounds good, thank you for your time!