Commit graph

26 commits

Author SHA1 Message Date
Andres Löh 31654fc153 Filter null elements from dependency lists to keep hashes stable.
svn path=/nixpkgs/trunk/; revision=28434
2011-08-09 14:55:53 +00:00
Andres Löh f8880709d7 Added more high-level attributes to cabal.nix.
svn path=/nixpkgs/trunk/; revision=28392
2011-08-08 14:12:07 +00:00
Andres Löh 3e0ac9b040 Major Haskell packages overhaul.
Several changes, some highlights:

  * Structure of haskell-packages.nix updated. It's now easier to
    select different default versions of packages for different
    versions of GHC.

  * GHC 7.0.2 is now default.

  * Haskell Platform 2011.2.0.0 has been added and is now default.

  * Several packages have been updated
    (gtk2hs, gitit, xmonad, darcs, ...).

  * Some old packages have been removed.

svn path=/nixpkgs/trunk/; revision=26288
2011-03-12 17:28:15 +00:00
Andres Löh c4c983464a Moved creation of symlink to postFixup phase.
This, together with a check if the symlink is necessary,
should prevent the occurrence of dangling symlinks.

svn path=/nixpkgs/trunk/; revision=24232
2010-10-12 07:26:45 +00:00
Andres Löh 6c90771ac6 * Updated darcs to 2.4.4.
* Added Haskell Platform 2010.2.0.0.
* Added cairo package in preparation for adding a new gtk2hs.

svn path=/nixpkgs/trunk/; revision=22714
2010-07-22 18:04:39 +00:00
Andres Löh 932b3d3b79 Some cleanup regarding GHC and profiling support.
svn path=/nixpkgs/trunk/; revision=21351
2010-04-27 18:21:07 +00:00
Andres Löh 8a036d8eb1 Library profiling for cabal packages can now be enabled via a config option.
svn path=/nixpkgs/trunk/; revision=21350
2010-04-27 16:35:01 +00:00
Andres Löh 1db4053fcc Added profiling option to cabal generic builder.
svn path=/nixpkgs/trunk/; revision=21349
2010-04-27 16:34:56 +00:00
Andres Löh 1df704c533 Fix propagated user environment packages for Cabal builder.
svn path=/nixpkgs/trunk/; revision=20905
2010-04-01 10:56:50 +00:00
Marc Weber fd18682bc4 fix cabal builds (propagatedBuildNativeInputs)
svn path=/nixpkgs/trunk/; revision=20088
2010-02-18 01:49:50 +00:00
Marc Weber cb582a87c9 cabal: add noHadock env var. Eg haddock can't create docs for haskell-src-exts
svn path=/nixpkgs/trunk/; revision=19636
2010-01-24 15:39:46 +00:00
Andres Löh 55e2661690 Updated Agda to 2.2.6.
svn path=/nixpkgs/trunk/; revision=19365
2010-01-12 10:18:00 +00:00
Peter Simons 1dfec1c467 pkgs/development/libraries/haskell/cabal/cabal.nix: build haddock documentation for Haskell libraries
svn path=/nixpkgs/trunk/; revision=19237
2010-01-05 15:17:17 +00:00
Marc Weber c62430f6a6 ghc version bump to latest stable release 6.12.1
make cabal expression add etxra library paths only if they exist.
Adding myself as maintainer so that the buildfarm builds ghc.

svn path=/nixpkgs/trunk/; revision=19198
2010-01-04 07:44:32 +00:00
Andres Löh 66f3af0bdd ghc-wrapper now detects installed pkgs automatically.
svn path=/nixpkgs/trunk/; revision=15301
2009-04-25 14:23:00 +00:00
Andres Löh cd018e50d4 64bit support in Cabal builder
svn path=/nixpkgs/trunk/; revision=15282
2009-04-23 17:21:14 +00:00
Andres Löh d3b5bc4a20 * Fixed external library dependencies for some Haskell-Platform packages.
* Added Agda plus dependencies.

svn path=/nixpkgs/trunk/; revision=15227
2009-04-21 21:05:30 +00:00
Andres Löh 035d7cb965 * Updated lhs2TeX.
* Propagated build inputs of Haskell pkgs are now automatically
  propagated user-env pkgs.
* Updated haskell-platform slightly.

svn path=/nixpkgs/trunk/; revision=15184
2009-04-20 14:23:50 +00:00
Andres Löh b148543c3e Towards Haskell Platform support.
svn path=/nixpkgs/trunk/; revision=15148
2009-04-19 11:44:37 +00:00
Eelco Dolstra ffcd38403e * Install the package config files under
$out/lib/ghc-pkgs/ghc-<version>/<package>.conf instead of under
  $out/nix-support/ghc-package.conf.  This makes them visible in the
  user's profile when installed with nix-env.

svn path=/nixpkgs/trunk/; revision=15135
2009-04-18 20:24:36 +00:00
Eelco Dolstra ca8b45d441 * Cabal builder: put the GHC version in the default name attribute to
disambiguate between package instances built with different GHCs.

svn path=/nixpkgs/trunk/; revision=15132
2009-04-18 16:21:59 +00:00
Eelco Dolstra baad5d7cb4 * GHC setup hook: don't generate wrappers around ghc etc., instead
set GHC_PACKAGE_PATH.
* Let Cabal generate a package configuration file
  ($out/nix-support/ghc-package.conf) instead of a registration
  script.

svn path=/nixpkgs/trunk/; revision=15127
2009-04-18 15:23:00 +00:00
Andres Löh 4a49a7befc * gtk2hs switched to ghc-6.8.2 (but still not following the scheme of the other Haskell libs)
* HDBC with postgresql and sqlite3 drivers added

svn path=/nixpkgs/trunk/; revision=10287
2008-01-25 12:42:07 +00:00
Andres Löh 84e7b463f5 * converted happy and haddock to use generic Cabal builder
svn path=/nixpkgs/trunk/; revision=10252
2008-01-22 21:10:19 +00:00
Andres Löh 021e9b704b * small fix for the generic Cabal builder
* added Crypto and pcre-light packages

svn path=/nixpkgs/trunk/; revision=10250
2008-01-22 19:02:55 +00:00
Andres Löh d8694e68eb * added generic Cabal builder
* transformed zlib, vty, binary, X11 to use generic Cabal builder
* note that Cabal library packages are now by default prefixed with "haskell-"

svn path=/nixpkgs/trunk/; revision=10247
2008-01-22 16:26:57 +00:00