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

hackage shelly-1.6.8.5 build failure #156

Closed
ddssff opened this issue Nov 13, 2017 · 6 comments
Closed

hackage shelly-1.6.8.5 build failure #156

ddssff opened this issue Nov 13, 2017 · 6 comments

Comments

@ddssff
Copy link
Contributor

ddssff commented Nov 13, 2017

The executables are missing hs-source-dirs and build-depends entries:

executable  drain
    hs-source-dirs: test/examples
    main-is: drain.hs
    build-depends: base, shelly, text

executable  run-handles
    hs-source-dirs: test/examples
    main-is: run-handles.hs
    build-depends: base, shelly

executable  Color
    hs-source-dirs: test/examples
    main-is: color.hs
    build-depends: base, shelly, process, text
@psibi
Copy link
Contributor

psibi commented Nov 15, 2017

@ddssff How can I reproduce this ? Travis works fine for me: https://travis-ci.org/yesodweb/Shelly.hs

I also tried building via Stack (with and without flags) in my linux box locally and everything worked fine.

@ddssff
Copy link
Contributor Author

ddssff commented Nov 15, 2017

Well, that is odd. It happened in the midst of a ghcjs build. I will have to look into it.

@ddssff
Copy link
Contributor Author

ddssff commented Nov 15, 2017

it turns out that the cabal file in github is very different from the one in the hackage tarball, which in turn is different from the file obtained from the https://hackage.haskell.org/package/shelly-1.6.8.5/shelly.cabal link. Using this last one is what causes the problem.

@psibi
Copy link
Contributor

psibi commented Nov 16, 2017

That's strange. I will look into this tonight and will upload a new version.

@psibi
Copy link
Contributor

psibi commented Nov 17, 2017

Okay, so I looked into this and it seems to be a Cabal parser related bug: commercialhaskell/stack#3549

Will see if I can workaround that issue and upload a new package.

@psibi psibi closed this as completed in e152e22 Nov 19, 2017
@psibi
Copy link
Contributor

psibi commented Nov 19, 2017

I have released a new version which fixes the issue.

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