summaryrefslogtreecommitdiff
path: root/gnu/packages/haskell.scm
AgeCommit message (Collapse)Author
2023-07-17gnu: ghc-8.10: Fix build on i686-linux.Christopher Baines
As one profiling test fails very repeatedly on the bordeaux build farm, but ghc did seem to build successfully on other machines. * gnu/packages/haskell.scm (ghc-8.10)[arguments]: Don't run the T11627a profiling test on i686-linux.
2023-04-25gnu: ghc-8.10: Avoid testsuite timeouts on i686.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Add new phase 'skip-failing-tests-i686-cuirass.
2023-04-21gnu: ghc-9.0: Make testsuite compatible with Python 3.10.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-9.0)[native-inputs]: Add patch and snippet to ghc-testsuite input.
2023-04-14gnu: ghc-9.2: Make the skip-T21694-i686 phase unconditional.Maxim Cournoyer
* gnu/packages/haskell.scm (ghc-9.2) [arguments]: Remove match conditional for the skip-T21694-i686 phase.
2023-03-12gnu: ghc-9.2: Adapt testsuite to grep 3.8.Lars-Dominik Braun
Starting with version 3.8, grep emits warning messages when pattern contain spurious slashes: grep '\+' /dev/null grep: warning: stray \ before + GHC’s testsuite does not expect that and fails. * gnu/packages/patches/ghc-9.2-grep-warnings.patch: New file. * gnu/local.mk: Add it. * gnu/packages/haskell.scm (ghc-9.2)[native-inputs]: Add patch.
2023-03-02Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines
Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
2023-02-28gnu: ghc-9.2: Increase max-silent-time.Lars-Dominik Braun
Times out on i686 CI, but not locally. * gnu/packages/haskell.scm (ghc-9.2)[properties]: Add max-silent-time.
2023-02-27gnu: ghc: Disable failing test on i686Lars-Dominik Braun
Conditionally, so we don’t rebuild GHC on amd64. * gnu/packages/haskell.scm (ghc-9.2)[arguments]: Conditionally add phase 'skip-T21694-i686.
2023-02-26gnu: ghc-9.2: Support static linking with glibc < 2.34.Lars-Dominik Braun
* gnu/packages/patches/ghc-9.2-glibc-2.33-link-order.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. * gnu/packages/haskell.scm (ghc-9.2)[origin]: Use it.
2023-02-26gnu: ghc-9.2: Increase make verbosity.Lars-Dominik Braun
Tests time out on ci.guix.gnu.org. * gnu/packages/haskell.scm (ghc-9.2)[arguments]: Modify #:make-flags.
2023-02-26gnu: Switch default to GHC 9.2.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-9.0): Rename to just “ghc”. (ghc-9.2): Ditto. (ghc): Use ghc-9.2.
2023-02-05gnu: Rename 'git-minimal/fixed' to 'git-minimal/pinned'.Simon Tournier
* gnu/packages/version-control.scm: Rename variable 'git-minimal/fixed' to 'git-minimal/pinned', add depreciation. * gnu/packages/erlang.scm (erlang-erlware-commons)[native-inputs]: Replace 'git-minimal/fixed' with 'git-minimal/pinned'. (rebar3-git-vsn)[inputs]: Likewise. * gnu/packages/gnome.scm (gnome-photos)[native-inputs]: Likewise. * gnu/packages/gtk.scm (graphene)[native-inputs]: Likewise. * gnu/packages/haskell.scm (ghc-8.8, ghc-8.10)[native-inputs]: Likewise. * gnu/packages/julia-xyz.scm (julia-documenter)[native-inputs]: Likewise. * gnu/packages/ocaml.scm (opam, ocamlformat)[native-inputs]: Likewise. * gnu/packages/python-xyz.scm (python-check-manifest)[native-inputs]: Likewise. (python-scikit-build)[native-inputs]: Likewise. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
2023-01-30Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner
Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
2022-12-31gnu: Add ghc-9.4.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-9.4): New variable. (ghc-bootstrap-for-9.4): New variable. (ghc-alex-bootstrap-for-9.4): New variable. (ghc-happy-bootstrap-for-9.4): New variable.
2022-12-31gnu: Add ghc-9.2.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-9.2): New variable.
2022-10-31gnu: Add ghc-6.10.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-6.10): New variable.
2022-10-31gnu: ghc-6.6: Patch more references to /bin/sh.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-6.6)[arguments]: Patch references to /bin/sh in Cabal and process internals.
2022-10-28gnu: Add ghc-6.6.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-6.6): New variable.
2022-10-28gnu: ghc-6.0: Adjust configuration.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-6.0)[arguments]: Pass --enable-src-tree-happy option; remove --with-hc option because we use the same GHC for everything; add --with-gcc option to embed absolute file name of GCC. [native-inputs]: Remove unused python-2.
2022-10-28gnu: ghc-4: Embed absolute file name of GCC in GHC.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-4)[arguments]: Pass "--with-gcc" option to configure script.
2022-10-27gnu: Add ghc-6.0.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-6.0): New variable.
2022-10-27gnu: ghc-4: Build full compiler using provided *.hc files.Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-4)[source]: Remove patch. [arguments]: Change to build full compiler. [native-inputs]: Remove default binutils and gcc; add tarball for hc files. * gnu/packages/patches/ghc-4.patch: Delete patch. * gnu/local.mk (dist_patch_DATA): Remove it.
2022-10-16gnu: ghc-4: Use Perl 5.6Ricardo Wurmus
* gnu/packages/haskell.scm (ghc-4)[native-inputs]: Replace perl-5.14 with perl-5.6.
2022-10-12Merge remote-tracking branch 'origin/master' into stagingEfraim Flashner
Conflicts: gnu/packages/gnuzilla.scm gnu/packages/graphics.scm gnu/packages/gstreamer.scm gnu/packages/gtk.scm gnu/packages/kde-frameworks.scm gnu/packages/video.scm
2022-10-02gnu: Add ghc-9.0.itd
* gnu/packages/haskell.scm (ghc-9.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2022-09-18gnu: ghc@8.4: Adjust test suite for Python 3.10.Marius Bakke
This applies the substitution added in 48718135e74994e671eaf6dc6b74ac90e1e8a939 also for GHC@8.4. Somehow this problem is not fatal there and went unnoticed. * gnu/packages/haskell.scm (ghc-8.4)[native-inputs]: Patch the test driver for Python 3.10 compatibility.
2022-09-10gnu: GHC: Adjust tests for grep 3.8.Marius Bakke
This fixes a test failure introduced in commit c527b0ce23c5d9228d29c5f90892aa5f05e77347. * gnu/packages/patches/ghc-testsuite-grep-compat.patch: New file. * gnu/local.mk (dist_patch_DATA): Adjust accordingly. * gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10)[native-inputs]: Patch the 'ghc-testsuite' input.
2022-09-01gnu: GHC: Adjust for Python 3.10.Marius Bakke
* gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10)[native-inputs]: Patch the test suite for Python 3.10 compatibility.
2022-08-27Merge branch 'staging' into core-updatesMarius Bakke
2022-08-23gnu: ghc-8.10: Build using ghc-8.6.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.10)[native-inputs]: Replace ghc-8.8 with ghc-8.6.
2022-08-23gnu: ghc-8.10: Rewrite using G-exps.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Rewrite using g-exps.
2022-08-23gnu: ghc-8.10: Add phase unconditionally.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Apply custom 'skip-failing-tests-i686 phase for all architectures.
2022-08-23gnu: ghc-8.8: Rewrite using G-exps.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.8)[arguments]: Rewrite using g-exps. Remove trailing #t from phases.
2022-08-23gnu: ghc-8.6: Rewrite using G-exps.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.6)[arguments]: Rewrite using g-exps. Remove trailing #t from phases.
2022-08-23gnu: ghc-8.4: Modernize package.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.4)[inputs]: Use inherited inputs. [arguments]: Rewrite using g-exps. Adjust to use inherited package arguments. Use inherited 'unpack-testsuite, 'fix environment phases. Remove redundant 'fix-references phase. (ghc-8.8)[arguments]: Adjust phases based on changed inherited phases.
2022-08-23gnu: ghc-8.0: Modernize package.Efraim Flashner
* gnu/packages/haskell.scm (ghc-8.0)[arguments]: Rewrite using g-exps. Unpack testsuite tarball from the store. Remove trailing #t from phases. [inputs]: Remove input labels. Move ghc-testsuite ... [native-inputs]: ... to here.
2022-08-23gnu: ghc-7: Update to 7.10.3.Efraim Flashner
* gnu/packages/haskell.scm (ghc-7): Update to 7.10.3.
2022-08-21gnu: ghc-7: Unpack tarballs from the store.Efraim Flashner
* gnu/packages/haskell.scm (ghc-7)[arguments]: Adjust custom 'unpack-bin and 'unpack-testsuite-and-fix-bins phases to unpack tarballs directly from the store.
2022-08-21gnu: ghc-7: Rewrite arguments using G-expressions.Efraim Flashner
* gnu/packages/haskell.scm (ghc-7)[arguments]: Rewrite using G-expressions. Remove trailing #t from phases.
2022-08-11gnu: ghc: Use a LibFFI variant without static trampolines.Marius Bakke
* gnu/packages/haskell.scm (ghc-7, ghc-8.0, ghc-8.4)[inputs]: Change from LIBFFI to LIBFFI-SANS-STATIC-TRAMPOLINES. * gnu/packages/libffi.scm (libffi-sans-static-trampolines): New variable.
2022-02-15gnu: ghc@4: Replace config.sub using config package.Efraim Flashner
* gnu/packages/haskell.scm (ghc@4)[arguments]: Adjust custom 'bootstrap phase to adjust replacement of config.sub. [native-inputs]: Remove automake, add config.
2022-02-14gnu: ghc@4: Build without referring to packages in commencement.scm.Ludovic Courtès
* gnu/packages/haskell.scm (ghc-4)[arguments]: Remove #:implicit-inputs?. In 'bootstrap' phase, pass '-optc-D_GNU_SOURCE=1'. Use 'search-input-file' to locate lib{bfd,iberty}.a, and 'which' for cpp. Patch 'mk/config.mk.in'. In 'configure' phase, emit "config.cache". In 'make-boot' phase, replace "CLK_TCK" in 'nHandle.c'. [native-inputs]: Remove now-implicit inputs; remove GLIBC-2.2.5, GCC-MESBOOT0, and BINUTILS-MESBOOT. Add GCC-2.95 and BINUTILS-2.33. Remove input labels.
2022-02-14gnu: ghc@4: Use 'search-patches'.Ludovic Courtès
* gnu/packages/haskell.scm (ghc-4)[source]: Use 'search-patches'.
2022-02-14gnu: nhc98: Build with the current tool chain.Ludovic Courtès
* gnu/packages/patches/nhc98-c-update.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/haskell.scm (nhc98)[source]: Use it. [arguments]: Remove #:implicit-inputs?. [native-inputs]: Remove.
2022-02-07gnu: Add nhc98.Ricardo Wurmus
* gnu/packages/haskell.scm (nhc98): New variable.
2022-02-07gnu: Add ghc-4.Ricardo Wurmus
* gnu/packages/patches/ghc-4.patch: New file * gnu/local.mk (dist_patch_DATA): Add it. * gnu/packages/haskell.scm (ghc-4): New variable.
2021-12-13gnu: Simplify package inputs.Ludovic Courtès
This commit was obtained by running: ./pre-inst-env guix style without any additional argument.
2021-11-30gnu: ghc: Fix build on i686-linux.zimoun
* gnu/packages/haskell.scm (ghc-8.10)[arguments]<#:phases>: Disable failing test. Signed-off-by: Lars-Dominik Braun <lars@6xq.net>
2021-11-21gnu: ghc: Depend on 'git-minimal/fixed'.Ludovic Courtès
* gnu/packages/haskell.scm (ghc-8.8): Replace GIT/FIXED by GIT-MINIMAL/FIXED. * gnu/packages/version-control.scm (git/fixed): Remove.
2021-11-18gnu: ghc: Rely on a fixed version of Git.Ludovic Courtès
This makes the derivation of ghc equivalent to that found in e55547bf70384691712047912c793c517debd2ec. * gnu/packages/haskell.scm (ghc-8.8)[native-inputs]: Change GIT to GIT/FIXED. (ghc-8.10)[native-inputs]: Change GIT-MINIMAL to GIT-MINIMAL/FIXED. * gnu/packages/version-control.scm (git/fixed): New variable.