Skip to content

Conversation

@hvr
Copy link
Contributor

@hvr hvr commented Jul 25, 2017

This gives cabal new-build the necessary hint that hsc2hs is needed,
and if missing needs to be automatically installed.

I've already revised this into the most recent release on Hackage,

as this was causing failures in some Travis jobs in combination with GHC 7.10.3, such as

Failed to build HsOpenSSL-0.11.4.9. Build log ( /home/travis/.cabal/logs/ghc-7.10.3/HsOpenSSL-0.11.4.9-f00da0323c8dad6ca54292c9f1ed3e7d6803bb5b1c1b4d34025ec9f2fcefce2b.log ): [1 of 1] Compiling Main ( /home/travis/build/haskell/hackage-server/dist-newstyle/tmp/src-9421/HsOpenSSL-0.11.4.9/dist/setup/setup.hs, /home/travis/build/haskell/hackage-server/dist-newstyle/tmp/src-9421/HsOpenSSL-0.11.4.9/dist/setup/Main.o ) Linking /home/travis/build/haskell/hackage-server/dist-newstyle/tmp/src-9421/HsOpenSSL-0.11.4.9/dist/setup/setup ... Configuring HsOpenSSL-0.11.4.9... Building HsOpenSSL-0.11.4.9... Preprocessing library HsOpenSSL-0.11.4.9... setup: The program 'hsc2hs' is required but it could not be found cabal: Failed to build HsOpenSSL-0.11.4.9 (which is required by http-streams-0.8.5.3). See the build log above for details. 
This gives `cabal new-build` the necessary hint that `hsc2hs` is needed, and if missing needs to be automatically installed.
@vshabanov vshabanov merged commit b1db4f3 into haskell-cryptography:master Jul 25, 2017
@vshabanov
Copy link
Collaborator

Thank you. Merged and uploaded on Hackage.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants