|[Haskell-cafe] ANN: Cabal v1.18.0 released||Johan Tibell||9/4/13 2:11 PM|
On behalf of the cabal maintainers and contributors I'm proud to
announce the Cabal (and cabal-install) 1.18.0 release. To install run
cabal update && cabal install Cabal-1.18.0 cabal-install-1.18.0
With 854 commits since the last release there are two many
improvements and bug fixes to list them here, but two highlights are:
* Hermetic builds using sandboxes. This should reduce the number of
"dependency hell" and broken package DB problems.
* GHCi support. It's now much easier to use ghci when developing your
packages, especially if those packages require preprocessors (e.g.
Here's how working on a package might look like using the new features:
# Only once:
cabal sandbox init
cabal install --only-dependencies --enable-tests
# Configure, build, and run tests:
cabal test # now implies configure and build
# Play around with the code in GHCi:
Mikhail wrote a bit more about the user visible changes on his blog:
For a complete list of changes run
git log cabal-install-v220.127.116.11..cabal-install-v1.18.0
in the cabal repo or look at the GitHub compare page:
(only shows the last 250 commits).
57 people contributed to this release!
503 Mikhail Glushenkov
99 Johan Tibell
41 Duncan Coutts
39 Ian Lynagh
19 Brent Yorgey
19 Thomas Tuegel
18 Ben Millwood
16 Eyal Lotem
10 Thomas Dziedzic
7 Andres Loeh
6 John Wiegley
6 Benno Fünfstück
5 Gregory Collins
4 Herbert Valerio Riedel
4 Simon Hengel
3 Joachim Breitner
3 Luke Iannini
3 Bryan Richter
3 Richard Eisenberg
3 Tuncer Ayaz
3 Jens Petersen
2 Arun Tejasvi Chaganty
2 Bryan O'Sullivan
2 Eric Kow
2 Paolo G. Giarrusso
2 Paolo Capriotti
1 Sönke Hahn
1 Yitzchak Gale
1 Albert Krewinkel
1 Alexander Kjeldaas
1 Austin Seipp
1 Bardur Arantsson
1 Ben Doyle
1 Ben Gamari
1 Carter Tazio Schonwald
1 Clint Adams
1 Daniel Wagner
1 David Lazar
1 Erik Hesselink
1 Eugene Sukhodolin
1 Gabor Greif
1 Jack Henahan
1 Jason Dagit
1 Ken Bateman
1 Mark Lentczner
1 Masahiro Yamauchi
1 Merijn Verstraaten
1 Michael Thompson
1 Niklas Hambüchen
1 Oleksandr Manzyuk
1 Patrick Premont
1 Roman Cheplyaka
1 Sergei Trofimovich
1 Stephen Blackheath
-- Johan, on behalf of the cabal maintainers and contributors.
Haskell-Cafe mailing list
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Darren Grant||9/4/13 2:25 PM|
Thank you all for the hard work. The new features are already of great help to me!
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Yuri de Wit||9/4/13 2:41 PM|
Thanks for all the hard work!
If you see this in OSX (#1009) while installing cabal 1.18:
Warning: could not create a symlink in /Users/lemao/Library/Haskell/bin for
cabal because the file exists there already but is not managed by cabal. You
can create a symlink for this executable manually if you wish. The executable
file has been installed at
You will need to manually remove the pre-existing 1.16 links in ~/Library/Haskell/bin before installing again.
cabal-devel mailing list
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Paolo Giarrusso||9/5/13 4:53 AM|
On Wednesday, September 4, 2013 11:41:33 PM UTC+2, Yuri de Wit wrote:
Instead of installing again, you can even just recreate the symlink as mentioned by the message (if you know how to do that).
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Yuri de Wit||9/5/13 6:18 AM|
It is easy enough to recreate the link manually or as easy to run cabal install again, but that is not the point here. The point is that it will bite the next dozen of unsuspecting users since, at first, they have no idea of what is going on.
In any case, apologies for sending this in this thread as it doesn't seem the right forum to discuss it.
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Rogan Creswick||9/5/13 8:16 AM|
I ran into another oddity due to old build artifacts today -- it was easy to fix, but very confusing; cabal repl was exiting with "unrecognised command: repl".
tl/dr; if you see this, delete the old 'dist' dir and re-run 'cabal configure'.
Here's a snippit of my shell session to explain in more detail:
$ cabal sandbox init
$ cabal --version
cabal-install version 1.18.0
using version 1.18.0 of the Cabal library
$ cabal configure
$ cabal repl
unrecognised command: repl (try --help)
$ cabal --help
build Compile all targets or specific targets.
repl Open an interpreter session for the given target.
sandbox Create/modify/delete a sandbox.
Note that cabal --version and cabal --help indicated that repl /was/ a valid command.
The issue appears to be that an old dist directory was still hanging around, and (I suspect) the compiled setup.hs build program (which would have been built with an old Cabal) was causing the actual error. Deleting the dist dir and re-running cabal configure set everything right.
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Johan Tibell||9/5/13 8:36 AM|
|Re: [Haskell-cafe] ANN: Cabal v1.18.0 released||Johan Tibell||9/5/13 9:41 PM|
Hideyuki Tanaka was missing from the list of contributors (his patch was applied through me). His contribution made 'cabal update' faster!
|Re: [Haskell-cafe] [Haskell] ANN: Cabal v1.18.0 released||Henning Thielemann||9/16/13 1:16 AM|
That's a great feature! How can I configure Cabal to start ghci with
certain options? I like to enable more warnings. I could not find a
documentation for the Cabal config file.
|Re: [Haskell-cafe] [Haskell] ANN: Cabal v1.18.0 released||Erik Hesselink||9/16/13 1:52 AM|
On Mon, Sep 16, 2013 at 10:16 AM, Henning ThielemannI assume a .ghci file, either in the project directory, or in your
home directory, still works. See also