nixpkgs/pkgs/development/tools/haskell
Peter Simons 29fed6f834 cabal2nix: update to version 20150807
This update greatly enhances the accuracy with which dependencies are expressed
in the generated Nix files. Previous versions distinguished dependencies for
building ("buildDepends") and testing ("testDepends"). This distinction didn't
apply to system packages or build tools, however: the fields "extraLibs" and
"buildTools" applied to the entire build. This meant that dependencies required
only for testing would be pulled in regardless of whether the test were
actually being run, etc.

These days, we distinguish dependencies for libraries, executables, and tests,
and for each of those types we distinguish dependencies on Haskell libraries,
system libraries, pkgconfig libraries, and build tools. This gives us a
whopping 12 new attributes

    xxxHaskellDepends
    xxxSystemDepends
    xxxPkgconfigDepends
    xxxToolDepends

where "xxx" is any of "library", "executable", or "test".

The old dependency attributes are no longer generated by cabal2nix. The generic
builder in Nixpkgs still accepts them, though, for the sake of backwards
compatibility. This means that you don't have to re-generate all your build
expressions with the new version, but you *should*.
2015-08-07 15:03:58 +02:00
..
cabal2nix cabal2nix: update to version 20150807 2015-08-07 15:03:58 +02:00
ihaskell ihaskell-wrapper: avoid use of /bin/sh 2015-06-12 10:50:40 +02:00
lambdabot lambdabot: add configuration 2015-04-20 18:56:43 +03:00
leksah leksah: move to haskell tools and add cabal to path 2015-04-16 15:53:57 +03:00
mueval lambdabot, mueval: move to development/tools/haskell 2015-04-16 15:53:57 +03:00