Re: Haskell Stack Ports on Apple Silicon

2021-08-15 Thread Ken Cunningham
> On Aug 15, 2021, at 5:16 AM, Steven Smith wrote: > >> Cannot install shellcheck for the arch 'arm64’ because IF shellcheck had supported_archs x86_64 in the Portfile, it should never try to install the arm64 arch in the first place. So I’m guessing probably that was missing. It seems

Re: Haskell Stack Ports on Apple Silicon

2021-08-15 Thread Steven Smith
I confirm that this approach does not work on an M1 Mac. Trying to install a stack portion an M1—whether or not `supported_archs x86_64` is set—throws this architecture mismatch error when trying to install on the M1: > Cannot install shellcheck for the arch 'arm64' because > It’s dependency

Re: Haskell Stack Ports on Apple Silicon

2021-08-15 Thread Steven Smith
Wouldn’t the best solution be to combine Ken’s two good ideas from this thread and add `supported_archs x86_64` to the haskell_stack portgroup, which would handle all ports built using stack? > IF pandoc set it’s supported_archs to x86_64 (which then matches stack) — > would that now install