Commit graph

11 commits

Author SHA1 Message Date
Peter Simons d64917ad17 Back-port Haskell-related improvements from stdenv-updates.
* There now is full support for building Haskell packages as shared libraries
   for GHC versions 7.4.2 or later. The Cabal builder recognizes the following
   attributes:

    - enableSharedLibraries configures Cabal to build of shared libraries in
      addition to static ones. This option requires that all dependencies of
      the package have been compiled for use in shared libraries, too.

    - enableSharedExecutables configures Cabal to prefer shared libraries when
      linking executables.

   The default values for these attributes are arguments to the haskellPackages
   expression.

 * Haskell builds now run in a LANG="en_US.UTF-8" environment to avoid plenty
   of build and test suite errors. Without this setting, GHC seems unable to
   deal with the UTF-8 character encoding that's generally considered standard
   in the Haskell world.

 * The Cabal builder supports a new attribute 'testTarget' to specify the exact
   set of tests to be run during the check phase.

 * The ghc-wrapper attribute ghcVersion has been removed. Instead, we use the
   ghc.version attribute, which exists in unwrapped GHC derivations, too.
2013-10-27 10:09:36 +01:00
Peter Simons 7596ce3dbb Remove myself as maintainer of these packages. 2012-09-11 18:22:31 +02:00
Mathijs Kwik c0efa356fc uhc: fixed building on ghc 7.2.1+
by removing the check for the 'binary' package, which is built-in from
that version onward. This is a workaround for the problem where ghc's
built-in libraries (like containers, array, binary) don't show up in
"ghc-pkg list" output.

svn path=/nixpkgs/trunk/; revision=34471
2012-06-11 18:58:28 +00:00
Mathijs Kwik 206c6b1bbb upgraded uhc
svn path=/nixpkgs/trunk/; revision=34026
2012-05-09 10:01:41 +00:00
Mathijs Kwik 17cbe60a5b uhc upgrade
svn path=/nixpkgs/trunk/; revision=33775
2012-04-13 14:53:56 +00:00
Mathijs Kwik 4d34820fba UHC: upgraded and changed to the new official github repository
svn path=/nixpkgs/trunk/; revision=33675
2012-04-09 10:17:17 +00:00
Mathijs Kwik 01e0c31bae haskell-lazysmallcheck
svn path=/nixpkgs/trunk/; revision=33363
2012-03-22 22:37:08 +00:00
Peter Simons 5a34b4f9a1 uhc: upgraded to 1.1.3
svn path=/nixpkgs/trunk/; revision=32081
2012-02-06 19:09:01 +00:00
Peter Simons 3ea9f68e75 uhc: upgraded to latest version
svn path=/nixpkgs/trunk/; revision=31646
2012-01-18 20:32:14 +00:00
Peter Simons 498508fd59 haskell-uhc-svn: updated to revision 2381
svn path=/nixpkgs/trunk/; revision=31031
2011-12-22 12:18:46 +00:00
Peter Simons f06abc04c5 The EHC compiler is now called UHC.
svn path=/nixpkgs/trunk/; revision=30841
2011-12-11 19:54:40 +00:00