Commit graph

1149 commits

Author SHA1 Message Date
Peter Simons f92a5cbfc6 pkgs/development/compilers/ghc/with-packages.nix: add 'ignoreCollisions' parameter
The ghcWithPackage expression now has an argument 'ignoreCollisions' that
allows users to disable the path collision check like so:

  (pkgs.haskellPackages.ghcWithPackages (pkgs: with pkgs; [ haskellPlatform ])).override { ignoreCollisions = true; };

See d64917ad17
for a long and detailed discussion of why these path collisions may occur.
2013-11-07 12:14:19 +01:00
Peter Simons 0e831bd525 Resurrect the old ghcWithPackages wrapper under the attribute name 'ghcWithPackagesOld'. 2013-11-04 19:42:49 +01:00
Mathijs Kwik b6519f08da haskell-parsers: bring back 0.9 for idris 2013-11-01 08:02:19 +01:00
Mathijs Kwik 3c2b7f5e33 haskell-trifecta: bring back 1.1 for idris 2013-11-01 08:02:19 +01:00
Peter Simons e0c633a402 haskell-hslua: update to version 0.3.8 2013-10-31 09:02:24 +01:00
Peter Simons 793be25a9a haskell-gloss: update to version 1.8.1.1 2013-10-31 09:02:24 +01:00
Peter Simons 90d80c3d35 haskell-OpenGL: update 2.9.x branch to version 2.9.1.0 2013-10-31 09:02:24 +01:00
Peter Simons 7daab74440 haskell-Cabal: update to version 1.18.1.2 2013-10-27 19:07:14 +01:00
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 e1c9c133b0 Merge pull request #1110 from errge/master
Add text-format haskell library
2013-10-26 09:20:05 -07:00
Peter Simons cbacc46e45 haskell-hslua: remove support for linking the system's lua library
This feature is broken: <https://github.com/osa1/hslua/issues/8>.
2013-10-26 18:17:04 +02:00
Peter Simons 500eb7a262 haskell-packages.nix: fix caseInsensitive attribute 2013-10-26 17:34:29 +02:00
Peter Simons a773bf4398 haskell-HTF: add version 0.11.0.1 2013-10-24 23:29:54 +02:00
Peter Simons fadca15b2e haskell-language-ecmascript: add version 0.15.2 2013-10-24 23:29:54 +02:00
Peter Simons 5efa7019c7 haskell-xmlgen: add version 0.6.2.0 2013-10-24 23:29:54 +02:00
Peter Simons be4d957a9c haskell-case-insensitive: update to version 1.1.0.1 2013-10-24 23:29:54 +02:00
Gergely Risko 5c88bfaca9 Add text-format haskell library 2013-10-22 01:08:05 +02:00
Peter Simons a9302d494c haskell-clock: add version 0.4.0.1 2013-10-19 12:43:56 +02:00
Peter Simons 04d8147219 haskell-packages.nix: fix evaluation of cabal-install 2013-10-18 12:52:28 +02:00
Peter Simons ad44474f49 haskell-Cabal: add version 1.18.1.1 2013-10-18 12:52:27 +02:00
Peter Simons 182e352ccf haskell-src-exts: switch default to version 1.14.0 2013-10-14 08:43:35 +02:00
Peter Simons ba36baee34 haskell-connection: add version 0.1.3 2013-10-14 08:43:35 +02:00
danbst 254c153b62 Add usb haskell package 2013-10-11 09:39:16 +02:00
Peter Simons d8993dd96c haskell-hslua: update to version 0.3.7 2013-10-10 20:56:37 +02:00
Peter Simons 0a24aa4d29 haskell-network: add version 2.4.2.0 2013-10-10 20:52:39 +02:00
Mathijs Kwik af2eaf1ef9 llvm-general: remove version 3.3.5 2013-10-04 09:07:44 +02:00
Mathijs Kwik f7a9743574 idris: build with latest llvm-general(-pure) 2013-10-04 09:07:44 +02:00
Peter Simons a3ffa37065 cabal-install: update to version 1.18.0.2 2013-10-02 22:33:43 +02:00
Peter Simons 44f8e28988 haskell-mono-traversable: add version 0.1.0.0 2013-09-28 16:13:13 +02:00
Peter Simons 2fc05b85e0 haskell-vector-instances: add version 3.3 2013-09-28 16:13:07 +02:00
Peter Simons befcb152fd haskell-vector: add version 0.10.9.1 2013-09-28 15:05:13 +02:00
Peter Simons 1856fc13e9 haskell-primitive: add version 0.5.1.0 2013-09-28 15:05:13 +02:00
Peter Simons 93f8bf653d haskell-pointed: add version 3.1 2013-09-25 18:34:15 +02:00
Peter Simons c649c917f6 haskell-reducers: add version 3.0.2 2013-09-25 18:33:17 +02:00
Peter Simons 243ff0ec83 haskell-charset: add version 0.3.5 2013-09-25 18:32:37 +02:00
Peter Simons f5ea2c41e6 haskell-trifecta: add version 1.1 2013-09-25 18:30:37 +02:00
Peter Simons ce11e602a1 haskell-parsers: add version 0.9 2013-09-25 18:28:09 +02:00
Peter Simons 8cb5fefbc0 haskell-unordered-containers: add version 0.2.3.3 2013-09-25 18:24:59 +02:00
Peter Simons e613d30c3c haskell-data-pprint: add version 0.2.1.5 2013-09-22 13:29:56 +02:00
Peter Simons 876047edf7 haskell-monad-par: update to version 0.3.4.5 2013-09-22 13:25:10 +02:00
Peter Simons 71bb69c5c1 haskell-enummapset: add version 0.5.2.0 2013-09-22 13:25:08 +02:00
Peter Simons b962730e27 haskell-keys: add version 3.0.3 2013-09-22 13:25:08 +02:00
Peter Simons 90a8abc0dc haskell-Cabal: update to version 1.18.1 2013-09-22 13:25:07 +02:00
Oliver Charles d33ca4abae haskellPackages.pipesBytestring: New expression 2013-09-21 09:46:49 +01:00
Peter Simons 5d43f559a3 haskell-llvm-general: renamed some files to follow our naming convention 2013-09-21 09:56:34 +02:00
Mathijs Kwik a12f0fad69 idris: fix by using llvm-general 3.3.5.*
I tried jailbreaking, but this didn't work as llvm-general is an
optional (but enabled by default) dependency.

Manual patching revealed idris gets confused over the
llvm-general/llvm-general-pure split.
2013-09-20 23:51:37 +02:00
Mathijs Kwik bfdfdaf084 llvm-general: bring back version 3.3.5.* 2013-09-20 23:51:36 +02:00
Peter Simons dc4e44a241 haskell-pandoc-citeproc: add version 0.1.1 2013-09-18 17:45:16 +02:00
Peter Simons eb21eb3f67 haskell-rfc5051: add version 0.1.0.2 2013-09-18 17:45:07 +02:00
Peter Simons 11eb9ac282 haskell-aeson-pretty: add version 0.7 2013-09-18 17:44:57 +02:00