New formula: Cabal 0.8.0 #816
Comments
I updated the formula to use parameterized versions of |
Where does it store the haskell libraries that it fetches? The typical location on OS X would be /Library/Haskell/#{haskell_version}/ Inside the cabal keg is not really any good as upgrading cabal will effectively lose the installed packages. |
I wasn't sure which location to choose. Currently Cabal stores the installed packages in the Since Another issue is that GHC isn't the only Haskell implementation. It is the most popular one, though; so perhaps using GHC's version to mean the Haskell version would be okay. |
Since we're the only ones tweaking cabal to use /Library/Haskell it should be ok to just grab the version string and not prefix it with ghc. But certainly you can prefix with ghc- if you like (I wouldn't make another subdir as Ruby, Python and that don't). Other Haskell implementations can start prefixing if they adopt this scheme too. Don't worry about ownership of the dir. Instead add a caveat advising the user that they may want to change the permissions (if they feel that way inclined). Finally we should patch cabal so that the user doesn't have to do anything else for this setup to work. |
Any updates on this formula? Currently the GHC formula isn't terribly useful without cabal-install =) |
I'm going to update the formula over the weekend. |
Any updates on this formula? |
The link seems to be dead. It would be great to have cabal on homebrew. |
tanob created a formula for cabal at http://github.com/mxcl/homebrew/issues/issue/1379, I've rolled his two commits relating to cabal into one at http://github.com/arkx/homebrew/commit/cfa86f87a02d5f0f0ae245385f2b939dda3ba158. |
Tweaks to cabal formula in this branch: http://github.com/adamv/homebrew/commits/h Question: Should cabal be installing junk directly into "lib", or should it be going to "lib/ghc"? |
cabal is now available as part of "haskell-platform"; do we still want/need a separate cabal formula as well? |
IMO we can keep the cabal package, some users may be only interested on it. |
I'm thinking we should just direct people to haskell-platform. It's not THAT large and contains stuff you're likely going to need anyway. Less hassle to keep it upgraded that way as well, as cabal is able to upgrade itself. |
Closing in favor of haskell-platform; if anyone still things Cabal should be available separately too, please provide a new clean formula. Thanks. |
Closes Homebrew#816. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
The
cabal
command-line tool simplifies the process of managing Haskell software by automating the fetching, configuration, compilation and installation of Haskell libraries and programs.http://github.com/mietek/homebrew/blob/master/Library/Formula/cabal.rb
The text was updated successfully, but these errors were encountered: