yesodweb / cabal-meta

avoid cabal dependency hell by installing all your cabal dependencies at the same time
Other
36 stars 10 forks source link

https URLs not supported? #4

Closed mwotton closed 12 years ago

mwotton commented 12 years ago

I'm trying to set my project up the way described in the README, but cabal chokes on the non-http urls:

rhino ➜ ~/projects/dojo/ninjablocks-zeromq-workers git:(refactoring_channels) ✗ cat sources.txt ./ https://github.com/ninjablocks/dropbox-sdk-haskell https://github.com/ninjablocks/askitter

rhino ➜ ~/projects/dojo/ninjablocks-zeromq-workers git:(refactoring_channels) ✗ cabal-meta install Cloning into 'askitter'... Already on 'master' Cloning into 'dropbox-sdk-haskell'... Already on 'master' Installing packages: /home/mwotton/projects/dojo/ninjablocks-zeromq-workers https://github.com/ninjablocks/askitter https://github.com/ninjablocks/dropbox-sdk-haskell cabal: URL target not supported 'https://github.com/ninjablocks/askitter'. URL target not supported 'https://github.com/ninjablocks/dropbox-sdk-haskell'. Only 'http://' URLs are supported. cabal-meta: error running cabal ["install","/home/mwotton/projects/dojo/ninjablocks-zeromq-workers","https://github.com/ninjablocks/askitter","https://github.com/ninjablocks/dropbox-sdk-haskell"]: exit status 1: cabal: URL target not supported 'https://github.com/ninjablocks/askitter'. URL target not supported 'https://github.com/ninjablocks/dropbox-sdk-haskell'. Only 'http://' URLs are supported.

gregwebs commented 12 years ago

thanks for report. should be easy to allow https.

mwotton commented 12 years ago

I don't think this actually fixes the problem, as cabal-dev still seems to bail:

rhino ➜ ~/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox git:(master) ✗ cabal-dev --version cabal-dev 0.9.1 built with Cabal 1.14.0 rhino ➜ ~/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox git:(master) ✗ ghc-pkg list cabal-meta /var/lib/ghc/package.conf.d /home/mwotton/.ghc/x86_64-linux-7.4.1/package.conf.d cabal-meta-0.2.0

rhino ➜ ~/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox git:(master) ✗ cabal-meta --dev install --force-reinstalls --disable-shared --disable-library-profiling --disable-executable-profiling Already on 'master' Installing packages: /home/mwotton/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox/deps/dropbox-sdk-haskell /home/mwotton/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox https://github.com/ninjablocks/hoauth cabal: URL target not supported 'https://github.com/ninjablocks/hoauth'. Only 'http://' URLs are supported. cabal-meta: error running cabal-dev ["install","--force-reinstalls","--disable-shared","--disable-library-profiling","--disable-executable-profiling","/home/mwotton/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox/deps/dropbox-sdk-haskell","/home/mwotton/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox","https://github.com/ninjablocks/hoauth"]: exit status 1: cabal: URL target not supported 'https://github.com/ninjablocks/hoauth'. Only 'http://' URLs are supported.

mwotton commented 12 years ago

rhino ➜ ~/projects/dojo/ninjablocks-zeromq-workers/src/channels/dropbox git:(master) ✗ cabal --version cabal-install version 0.14.0 using version 1.14.0 of the Cabal library

gregwebs commented 12 years ago

thanks for the report. pushed and released 0.2.1. Let me know if that solves it.