Haskell Stack Ports on Apple Silicon

Ken Cunningham ken.cunningham.webuse at gmail.com
Thu Aug 12 20:28:48 UTC 2021


> I’d like to start hacking a Portfile update that will either compile pandoc on the M1 with stack, or install the x86_64 binary and hope it runs, like the x86_64 stack binary does.

You won't be surprised to find out I did that exact thing about a year ago:


https://github.com/macports/macports-ports/commit/39f5b1344934fd8777143d548c2fb04ef4affec6#diff-e9cf6cd1c3ba2b6e7eaa364835a16941f172cd2a16598b24cde0fce39ab55ee5

It was reverted / replaced though. I was told that MacPorts did this
automatically now (MacPorts would fall back and install the Intel binary on
arm64) so it was not needed to do this any longer.

Perhaps something has changed.

Ken
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20210812/b79a2bf4/attachment.htm>


More information about the macports-dev mailing list