creswick / cabal-dev

A wrapper program around cabal and cabal-install that maintains sandboxed build environments.
BSD 3-Clause "New" or "Revised" License
150 stars 24 forks source link

Changes for ghc 7.6 #68

Closed bgamari closed 12 years ago

bgamari commented 12 years ago

Does this look reasonable? Unfortunately this also requires some patches for tar which I have yet to get to Duncan.

akaspin commented 12 years ago

Please, merge this!

edsko commented 12 years ago

Thanks for this -- works for me. Duncan just pushed a patch to the tar repository which now also builds with 7.6.1.

mkscrg commented 12 years ago

Is there any movement on this? It'd be great to have a version on hackage that's 7.6.1-friendly!

jonathanjouty commented 12 years ago

Installs fine (GHC 7.6.1 on OS X 10.8) Compiled packages with private dependancies using cabal-dev add-source Then tried to cabal-dev ghci and got the following:

cabal-dev: user error (Warning: cannot determine version of
/Users/jonathanjouty/.cabal/bin/fake-ghc-cabal-dev :
"== GHC Arguments: Start ==\n--numeric-version\n== GHC Arguments: End ==\n"
cabal: ghcInvocation: the programVersion must not be Nothing
)

Don't know if this is an isolated issue, same error when trying on a package without private dependancies. Maybe to do with the following:

$ cabal-dev --version
cabal-dev 0.9.2
built with Cabal 1.16.0
$ cabal --version
cabal-install version 1.16.0
using version 1.16.0 of the Cabal library
jtdaugherty commented 12 years ago

I'm closing this in favor of https://github.com/creswick/cabal-dev/pull/72. Please see the comments in the other pull request for details. Thank you!