This is the Stackage LTS version, which is compatible with
ansi-terminal 0.8.
* gnu/packages/haskell.scm (ghc-concurrent-output): Downgrade to 1.10.9
and use ghc-ansi-terminal-0.8.
Fixes <https://bugs.gnu.org/36084>.
* gnu/packages/haskell-check.scm (ghc-clock-bootstrap): Move this...
* gnu/packages/haskell.scm (ghc-clock-bootstrap): ...here and inherit
from ghc-clock (which implies updating to version 0.7.2).
Co-authored-by: Robert Vollmert <rob@vllmrt.net>
The default Setup.hs is boilerplate that is frequently left out of
source packages. Several packages already add a phase to generate it,
so moving this phase to the build system is just factoring out an
existing pattern.
See <https://github.com/phadej/time-compat/issues/4>.
* guix/build/haskell-build-system.scm (generate-setuphs): New procedure.
(%standard-phases): Add it after 'unpack'.
* gnu/packages/haskell.scm (ghc-foundation, ghc-inline-c,
ghc-inline-c-cpp, ghc-rio): Remove 'arguments'.
Signed-off-by: Timothy Sample <samplet@ngyro.com>
This fixes a sporadic test failure, showing up particularly in Nix/Guix
builds: https://github.com/fpco/streaming-commons/issues/49.
* gnu/packages/haskell.scm (ghc-streaming-commons): Update to 0.2.1.1.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Tests fail reliably for me on a system with 2GB of available RAM, in
`issue93.a.hs` and `issue93.n.hs`.
* gnu/packages/haskell.scm (ghc-happy): Skip test "issue93".
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This package doesn't sound like it should be directly used, so hide it.
* gnu/packages/haskell.scm (ghc-call-stack-boot): Use hidden-package to hide
the package.
This old version of Pandoc no longer builds with GHC 8.4.3.
* gnu/packages/haskell-web.scm (ghc-aeson-for-pandoc-1): Remove variable.
* gnu/packages/haskell.scm (ghc-pandoc-types-for-pandoc-1,
ghc-texmath-for-pandoc-1, ghc-yaml-for-pandoc-1, ghc-hslua-for-pandoc-1,
ghc-skylighting-for-pandoc-1, ghc-doctemplates-for-pandoc-1, ghc-pandoc-1,
ghc-pandoc-citeproc-with-pandoc-1): Remove variables.
* gnu/packages/haskell.scm (ghc-haddock): Update to 2.19.0.1.
[arguments]: Add a phase that deletes four test suites to avoid a
dependency on haddock-test.
[native-inputs]: Remove ghc-haddock-test.
* gnu/packages/haskell.scm (ghc-haddock-api): Update to 2.19.0.1.
[arguments]: Add a phase that patches the Cabal file to allow newer
versions of Cabal and hspec.
* gnu/packages/patches/ghc-haddock-library-unbundle.patch: New file.
* gnu/packages/haskell.scm (ghc-haddock-library): Update to 1.5.0.1.
[source]: Add the patch; add a snippet to remove the bundled library.
[arguments]: Add a phase to relax test suite dependency constraints and
another to add a missing directory required for tests.
[native-inputs]: Add ghc-base-compat, ghc-optparse-applicative, and
ghc-tree-diff.
* gnu/packages/haskell.scm (ghc-esqueleto): Update to commit b81e0d9.
[source]: Use git-fetch.
[arguments]: Disable Haddock and add phase to remove MySQL and PostgreSQL
test-suites.
[inputs]: Add ghc-unliftio.
[native-inputs]: Remove ghc-hunit, ghc-monad-control, and ghc-quickcheck.