Commit graph

43 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
04440788ad haskell-ghc-mod: update to version 3.1.3 2013-10-10 20:56:36 +02:00
Peter Simons
29f33ae3bb haskell-ghc-mod: update to version 3.1.2 2013-09-28 15:05:12 +02:00
Peter Simons
0b6b0284e4 haskell-ghc-mod: update to version 3.1.1 2013-09-22 13:28:30 +02:00
Peter Simons
53ba62d309 haskell-ghc-mod: update to version 3.1.0 2013-09-22 13:25:09 +02:00
Peter Simons
768146f470 haskell-ghc-mod: update to version 3.0.2 2013-09-18 17:17:30 +02:00
Oliver Charles
ef72e19b27 ghc-mod: Wrap to call ghc-get-packages.sh first 2013-09-08 13:42:12 +01:00
Peter Simons
9e0cacb359 haskell-ghc-mod: update to version 3.0.0 2013-09-06 23:35:11 +02:00
Peter Simons
00162c8279 haskell-ghc-mod: update to version 2.1.2 2013-09-06 23:35:09 +02:00
Peter Simons
8a1d0991b2 haskell-ghc-mod: update to version 2.1.1 2013-09-03 22:48:42 +02:00
Peter Simons
95385a697a haskell-ghc-mod: re-generate expression with recent version of cabal2nix 2013-08-17 11:39:11 +02:00
Peter Simons
13a7b3f969 haskell-ghc-mod: update to version 2.0.3 2013-05-30 12:33:41 +02:00
Peter Simons
4ff031b4ff haskell-ghc-mod: update to version 2.0.2 2013-05-22 10:44:04 +02:00
Peter Simons
a56e1d1756 haskell-ghc-mod: re-enable the haddock phase 2013-05-22 10:21:17 +02:00
Peter Simons
91ea9b9190 haskell-ghc-mod: disable Haddock phase to fix the build
See <https://github.com/kazu-yamamoto/ghc-mod/issues/126> for further details.
2013-05-21 11:42:58 +02:00
Peter Simons
9a422f4ee1 haskell-ghc-mod: update to version 2.0.1 2013-05-21 10:58:34 +02:00
Peter Simons
4d545eddcd haskell-ghc-mod: update to version 1.12.5 2013-05-13 13:43:44 +02:00
Peter Simons
eeeef91f73 haskell-ghc-mod: disable test suite to fix the build
The test suite depends on the ghc-path module, which doesn't work with
ghc-wrapper. Eventually, we'll need a solution for this problem in our Cabal
builds.
2013-04-02 13:05:59 +02:00
Peter Simons
2522d5c8f5 haskell-ghc-mod: update to version 1.12.4 2013-04-02 13:05:59 +02:00
Peter Simons
68ac128d2d haskell-ghc-mod: update to version 1.12.3 2013-03-18 12:17:24 +01:00
Peter Simons
b8550949a8 haskell-ghc-mod: update to version 1.12.2 2013-03-13 13:59:32 +01:00
Peter Simons
9ff74626f9 haskell-ghc-mod: update to version 1.12.1 2013-03-08 13:37:58 +01:00
Eelco Dolstra
674c51af3c Merge remote-tracking branch 'origin/master' into stdenv-updates 2013-03-07 19:33:52 +01:00
Peter Simons
213dcd5843 haskell-ghc-mod: update to version 1.12.1 2013-03-07 17:07:47 +01:00
Peter Simons
53ecc95c72 haskell-ghc-mod: update to version 1.12.0 2013-03-06 11:06:00 +01:00
Peter Simons
a87e40737e haskell-ghc-mod: update to version 1.11.5 2013-03-01 10:41:43 +01:00
Peter Simons
7201dffe60 haskell-ghc-mod: update to version 1.11.4 2013-02-18 11:11:14 +01:00
Peter Simons
2b57173a4b haskell-ghc-mod: update to version 1.11.3 2012-12-12 11:54:26 +01:00
Peter Simons
00dedcba80 haskell-ghc-mod: update to version 1.11.2 2012-11-01 10:09:23 +01:00
Peter Simons
bf84037a65 haskell-ghc-mod: update to version 1.11.1 2012-10-23 18:29:58 +02:00
Peter Simons
c5c98b7617 Updated Haskell packages.
- derive: updated to version 2.5.9
 - ghc-mod: updated to version 1.11.0
 - hamlet: updated to version 1.0.1.4
 - http-conduit: updated to version 1.4.1.10
 - leksah: updated to version 0.12.1.3
 - mmap: updated to version 0.5.8
 - mtl: added version 2.1.2
 - prolog-graph-lib: updated to version 0.2.0.1
 - prolog: updated to version 0.2.0.1
 - reactive-banana-wx: updated to version 0.6.0.1
 - resourcet: updated to version 0.3.3
 - shelly: updated to version 0.12.0.2
 - simple-sendfile: updated to version 0.2.4
 - syb: added version 0.3.6.2
 - wai-app-static: updated to version 1.2.0.4
 - wai: updated to version 1.2.0.3
 - warp: updated to version 1.2.2
 - xml-types: updated to version 0.3.2
 - zlib-conduit: updated to version 0.4.0.2
2012-06-28 14:50:44 +02:00
Peter Simons
abdd4f3498 haskell-ghc-mod: updated to version 1.10.18
svn path=/nixpkgs/trunk/; revision=34498
2012-06-13 12:57:33 +00:00
Peter Simons
e55ca0628f Updated Haskell packages.
- generic-deriving: updated to version 1.2.1
 - ghc-mod: updated to version 1.10.17
 - gitit: updated to version 0.10.0.1
 - graphviz: updated to version 2999.13.0.3
 - hsemail: updated to version 1.7.2
 - split: updated to version 0.1.4.3

svn path=/nixpkgs/trunk/; revision=34384
2012-06-08 13:38:20 +00:00
Peter Simons
4fdbd75e4f Updated Haskell packages.
- ghc-mod: updated to version 1.10.16
 - network: added version 2.3.0.14
 - pandoc: updated to version 1.9.4
 - xmobar: updated to version 0.15

svn path=/nixpkgs/trunk/; revision=34337
2012-06-04 09:24:14 +00:00
Peter Simons
d775e93f90 Updated Haskell packages.
- HTTP: added version 4000.2.3
 - RSA: updated to version 1.2.0.0
 - RepLib: updated to version 0.5.2.1
 - conduit: updated to version 0.4.1.1
 - data-accessor: updated to version 0.2.2.2
 - deepseq-th: updated to version 0.1.0.3
 - explicit-exception: updated to version 0.1.7
 - ghc-mod: updated to version 1.10.15
 - gitit: updated to version 0.9.0.1
 - hakyll: updated to version 3.2.7.2
 - hjsmin: updated to version 0.0.16
 - http-conduit: updated to version 1.4.1
 - iteratee: updated to version 0.8.8.2
 - language-javascript: updated to version 0.5.0
 - reactive-banana: updated to version 0.5.0.1
 - repa: updated to version 3.1.1.1
 - rvar: updated to version 0.2.0.1
 - semigroups: updated to version 0.8.3
 - simple-sendfile: updated to version 0.2.3
 - storable-record: updated to version 0.0.2.5
 - unbound: updated to version 0.4.0.2
 - wxc: added version 0.90.0.2

svn path=/nixpkgs/trunk/; revision=33802
2012-04-16 12:07:58 +00:00
Peter Simons
e85794243f Update Haskell packages.
- blaze-html: updated to version 0.4.3.2
 - ghc-mod: updated to version 1.10.12
 - gloss: updated to version 1.7.0.1

svn path=/nixpkgs/trunk/; revision=33436
2012-03-27 10:31:45 +00:00
Peter Simons
a058381657 haskell-ghc-mod: updated to version 1.10.11
This expression can now be generated by cabal2nix. Note that it doesn't
propagate Emacs and haskell-mode, though, these dependencies must be
installed by the user in addition to ghc-mod.

To active ghc-mod, add the following snippet to your ~/.emacs file:

  (autoload 'ghc-init "ghc" nil t)
  (add-hook 'haskell-mode-hook (lambda () (ghc-init)))

svn path=/nixpkgs/trunk/; revision=33410
2012-03-25 19:33:48 +00:00
Peter Simons
9c1bdb6d90 haskell-ghc-mod: updated to version 1.10.5
svn path=/nixpkgs/trunk/; revision=32279
2012-02-14 16:58:33 +00:00
Peter Simons
1b85da5ae3 ghc-mod: upgraded to 1.0.8
svn path=/nixpkgs/trunk/; revision=32077
2012-02-06 19:08:48 +00:00
Peter Simons
4752d7201c haskell-ghc-mod: don't hard-code a specific version of emacsPackages into the expression itself
Instead, one of the available version is chosen in haskell-packages.nix, when
the expression is instantiated.

Also updated the meta section.

svn path=/nixpkgs/trunk/; revision=31856
2012-01-26 14:20:11 +00:00
Peter Simons
5f39616d9d haskell-ghc-mod: revert updated to version 1.0.7
The check-in accidentally overwrote Emacs-specific extensions of the expression.

svn path=/nixpkgs/trunk/; revision=31826
2012-01-24 22:06:33 +00:00
Peter Simons
1898dbd6cb haskell-ghc-mod: updated to version 1.0.7
svn path=/nixpkgs/trunk/; revision=31814
2012-01-24 15:06:18 +00:00
Peter Simons
02392785c5 ghc-mod: new package (emacs haskell-mode extension)
svn path=/nixpkgs/trunk/; revision=31653
2012-01-18 20:32:34 +00:00