Skip to content
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

change build type to work with v2 cabal build #47

Closed
wants to merge 1 commit into from

Conversation

freizl
Copy link

@freizl freizl commented Jan 8, 2021

No description provided.

@setrar
Copy link

setrar commented Oct 31, 2021

I tested this PR along with PR #38 on

  • Haskell Environment:
    ✔✔ ghc 8.10.7 recommended,base-4.14.3.0 hls-powered
    ✔✔ cabal 3.6.2.0 latest,recommended
    ✔✔ hls 1.4.0 latest,recommended
    ✔✔ ghcup 0.1.17.3 latest,recommended

  • Apple Silicon M1 arm64

% file dist-newstyle/build/aarch64-osx/ghc-8.10.7/Euterpea-2.0.8/build/libHSEuterpea-2.0.8-inplace-ghc8.10.7.dylib 
dist-newstyle/build/aarch64-osx/ghc-8.10.7/Euterpea-2.0.8/build/libHSEuterpea-2.0.8-inplace-ghc8.10.7.dylib: Mach-O 64-bit dynamically linked shared library arm64

And it compiles 🎉

@georgefst
Copy link

Note that adding setup dependencies (the second option in #35) would be more robust. But this works fine since Setup.hs currently just calls defaultMain.

@freizl
Copy link
Author

freizl commented Sep 18, 2022

Favor #52

@freizl freizl closed this Sep 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants