This follows up commit 2e9c43aa9a, which was
incomplete. Fixes <https://bugs.gnu.org/39358>.
* gnu/packages/patches/ghc-testsuite-dlopen-pie.patch: New file.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly. Also use tabs instead
of spaces on surrounding patches.
* gnu/packages/haskell.scm (ghc-8.6)[native-inputs]: Add patch for
"ghc-testsuite".
[arguments]: Remove incomplete workaround for the same issue.
Incidentally, this fixes a build failure where GHC's build processes fail to
link libffi and libgmp for 'ghc-cabal'.
* gnu/packages/haskell.scm (ghc-8.4)[inputs]: Remove BINUTILS, GCC, and
MAKE-LD-WRAPPER.
[arguments]: Adjust accordingly.
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>