Closed SaadAttieh closed 1 year ago
Oh that's surprising as I develop it on an M1 machine :)
Did you migrate from an Intel machine using time machine by any chance?
Another data point: on my M1 MBP migrated from Intel, the Conjure makefile ends up running stack --local-bin-path $HOME/.local/bin setup
and this (Intel-built) stack 8.6 then tries to download and install an Intel GHC 8.6.5.
Trying to reproduce this.
$ rm -rf ~/.stack ~/.ghc # remove everything including stack and any previously installed compilers
$ mkdir ~/tmp ; cd ~/tmp # fresh new directory
$ git clone git@github.com:conjure-cp/conjure.git
$ cd conjure
$ make
Took a long time (18 minutes), downloaded GHC-8.6.5 and the entire Haskell ecosystem, but ran without any errors.
Just make sure ~/.local/bin is in PATH or set BIN_DIR to something that is in your path.
So, I cannot reproduce this at the moment.
Closing since I cannot reproduce.