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

Here's how to fix installation with new Cabal #35

Open
alan-j-hu opened this issue Sep 22, 2019 · 1 comment
Open

Here's how to fix installation with new Cabal #35

alan-j-hu opened this issue Sep 22, 2019 · 1 comment

Comments

@alan-j-hu
Copy link

alan-j-hu commented Sep 22, 2019

Hi there,

To fix the installation issues with new-style Cabal, you can either:

  • Replace build-type: Custom with build-type: Simple in Euterpea.cabal
  • Add the following to Euterpea.cabal:
custom-setup
  setup-depends: Cabal, base

If Setup.hs needs any dependencies other than Cabal and base, use build-type: Custom and list the dependencies; otherwise, use build-type: Simple.

See #26 (comment).

I've wanted to use this library for so long, but could never get it working with Cabal. Now that I know what the problem is, I look forward to being able to build and use it! Thank you for your work maintaining Euterpea!

ramirez7 added a commit to ramirez7/Euterpea2 that referenced this issue Dec 23, 2019
@markfknight
Copy link

markfknight commented Jan 25, 2020

@donya I have just started reading "The Haskell School Of Music", I am a beginner in Haskell and am hoping to use your book to learn, only to encounter this cabal issue.

After looking at your open issues and PR's I went to make one myself, only to notice that the README says you don't accept PR's and changes will be managed by open issues.

I realise that there might be a reason why this has not been fixed for later versions of cabal that I would not understand due to my noobie view of the Haskell / cabal eco system but could you please advise when this will be fixed or why it can not?

In the meantime, I'm going to work out how to build/install the library from source.

[EDIT]
Just found Haskell Platform 8.6.5 install notes.

cabal v1-update
cabal v1-install Euterpea

Worked a treat.

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

No branches or pull requests

2 participants