bangalore-haskell-user-group / functorrent

A bit torrent client
GNU General Public License v3.0
18 stars 9 forks source link

Remove usage of cabal.config from stackage snapshot #42

Closed harshavardhana closed 9 years ago

harshavardhana commented 9 years ago

This is not really necessary with cabal sandbox, in-fact the version number for transformers-0.4.4 listed in this config conflicts with ghc-7.10.2

Better to avoid it since there is no real requirement on a specific transformers version for this project.

cabal update would satisfy these requirements in any-case.

harshavardhana commented 9 years ago

Let me know if breaks any of your builds..

dfordivam commented 9 years ago

Even I had some conflicts so deleted this in my local repo. And I don't use cabal sandbox, simple cabal build and cabal install works fine for me. (I do have a global cabal.config from stackage). @vu3rdd ok to merge this?

harshavardhana commented 9 years ago

And I don't use cabal sandbox, simple cabal build and cabal install works fine for me. (I do have a global cabal.config from stackage). @vu3rdd ok to merge this?

The problem with cabal.config at top level is that it installs the packages present in this file alone, leading it to really clobber up the system with vague dependency problems - until i progressively reached cabal hell .

I ended up re-installing ghc 4 times yesterday trying to figure out what is going on :-).

vu3rdd commented 9 years ago

Yes, I am totally fine merging this.

FYI, I am now using stack. It makes things much simpler (vu3rdd/functorrent).