summaryrefslogtreecommitdiff
path: root/gnu/packages/haskell.scm
AgeCommit message (Collapse)Author
2026-03-20gnu: Reference the inherited ‘arguments’ value.Ludovic Courtès
This commit was made by running this command: sed -e's/substitute-keyword-arguments (package-arguments [a-zA-Z0-9-]\+)/substitute-keyword-arguments arguments/g' -i gnu/packages/*.scm … and then: 1. reverting changes from ‘gnu/packages/rust.scm’ and ‘gnu/packages/java.scm’ since they would incur derivation changes and/or breakage; 2. reverting the change for ‘gcc-final’ in ‘gnu/packages/commencement.scm’; 3. reverting the change for ‘onnx-optimizer’, ‘openquest’, and ‘certbot’, which use ‘substitute-keyword-arguments’ for arguments that are not inherited (and thus ‘arguments’ would be unbound); 4. reverting the change for ‘insight-toolkit-legacy’ and ‘wine64-staging’ which make bogus assumptions about inherited arguments. Change-Id: I122a7cf517b6b63cae38944b5d33ade4b1f5a89c
2026-03-04gnu: Export non-trivial packages that were private.Ludovic Courtès
This makes those packages visible to ‘fold-packages’, which in turns gives a clearer view of the package set to tools like (gnu ci) and ‘guix graph’. * gnu/packages/dlang.scm (ldc-bootstrap): Export and add ‘hidden?’ property. (ldc)[properties]: New field. (dmd-bootstrap): Export and add ‘hidden?’ property. (dmd)[properties]: New field. * gnu/packages/freedesktop.scm (xdgmime): Export and add ‘hidden?’ property. * gnu/packages/games.scm (glkterm, supertuxkart-data) (ring-racers-data, openttd-engine, openttd-opengfx, openttd-opensfx) (openttd-openmsx, openrct2-title-sequences, openrct2-objects) (xonotic-data): Export and add ‘hidden?’ property. (simgear): Export. * gnu/packages/gnucash.scm (gnucash-docs): Export and add ‘hidden? property. * gnu/packages/groovy.scm (java-groovy-bootstrap): Export and add ‘hidden?’ property. (groovy-bootstrap, groovy-tests-bootstrap, groovy-parser-antlr4) (groovy-test, groovy-xml, groovy-templates, groovy-groovydoc) (groovy-ant, groovy-astbuilder, groovy-bsf, groovy-cli-commons) (groovy-cli-picocli, groovy-swing, groovy-console, groovy-datetime) (groovy-dateutil, groovy-docgenerator, groovy-groovysh, groovy-jmx) (groovy-json, groovy-jsr223, groovy-nio, groovy-servlet) (groovy-sql, groovy-testng, groovy-macro, groovy-yaml): Export. (groovy)[properties]: New field. * gnu/packages/haskell-xyz.scm (ghc-chell-quickcheck-bootstrap) (ghc-options-bootstrap): Export and add ‘hidden?’ property. (ghc-system-fileio-bootstrap, ghc-system-filepath-bootstrap): Remove. * gnu/packages/haskell.scm (ghc-alex-bootstrap-for-9.4) (ghc-happy-bootstrap-for-9.4): Export. * gnu/packages/image-processing.scm (insight-toolkit-legacy): Export. * gnu/packages/java-bootstrap.scm (jikes): Export. (classpath-bootstrap): Export and add ‘hidden?’ property. (jamvm-1-bootstrap, ant-bootstrap, ecj-bootstrap): Likewise. (ecj-javac-wrapper, classpath-0.99, classpath-jamvm-wrappers): Export. (classpath-devel): Export and remove ‘hidden?’ property. (jamvm): Export. (ecj-javac-wrapper-final): Export and remove ‘hidden?’ property. (ecj4-bootstrap): Export and add ‘hidden?’ property. (ecj4-javac-wrapper): Export. (jamvm-with-ecj4): Export and remove ‘hidden?’ property. * gnu/packages/java-xml.scm (java-jaxen-bootstrap): Export and add ‘hidden?’ property. (java-jaxen)[properties]: New field. * gnu/packages/java.scm (java-plexus-container-default-bootstrap): Export and add ‘hidden?’ property. (java-plexus-container-default)[properties]: New field. (java-stringtemplate-4.0.6): Export. (antlr3-bootstrap): Export and add ‘hidden?’ property. (antlr3-3.3)[properties]: New field. (java-tunnelvisionlabs-antlr4-runtime-bootstrap): Export and add ‘hidden?’ property. (java-tunnelvisionlabs-antlr4-bootstrap): Likewise. (java-tunnelvisionlabs-antlr4-runtime)[properties]: New field. (java-tunnelvisionlabs-antlr4)[properties]: New field. (java-geronimo-genesis-2.1): Export. * gnu/packages/rails.scm (ruby-ammeter-bootstrap): Export and add ‘hidden?‘ property. (ruby-ammeter)[properties]: New field. * gnu/packages/ruby-check.scm (ruby-cucumber-compatibility-kit-bootstrap): Export and add ‘hidden?’ property. * gnu/packages/ruby-xyz.scm (ruby-rspec-block-is-expected-bootstrap): Likewise. (ruby-rubocop-capybara-minimal): Likewise. (ruby-rubocop-capybara)[property]: New field. (ruby-rubocop-rake-minimal): Export and add ‘hidden?’ property. (ruby-rubocop-rake)[properties]: New field. (ruby-rubocop-rspec-minimal): Export and add ‘hidden?’ property. (ruby-rubocop-rspec)[properties]: New field. (ruby-cucumber-without-tests): Export and add ‘hidden?’ property. (ruby-liquid-c-bootstrap): Likewise. (ruby-liquid-c)[properties]: New field. * gnu/packages/xorg.scm (xcffibgen): Export and add ‘hidden?’ property. Fixes: guix/maintenance#85 Change-Id: I39cc94accb4eefbe73801f1f237201b48e4a7def Signed-off-by: Ludovic Courtès <ludo@gnu.org> Merges: #6781
2026-01-29gnu: ghc: Add support for aarch64.Yarl Baudig
Fixes guix/guix#1858. * gnu/packages/haskell.scm (ghc-bootstrap-aarch64-8.10.7, binary-ghc-8.10.7): New variables. (ghc-9.2)[[arguments]: Adjust the phases when building on aarch64-linux. [native-inputs]: When building on aarch64-linux use binary-ghc-8.10.7 instead of the previous ghc version. Change-Id: I2adfd26a33e92f05561e6d9dc9af41cbb7ecabfa Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
2025-09-18Reapply "Update Maxim's email address."Maxim Cournoyer
This reverts commit a7db92d9b389cbe565395523882c34c6eff2c21a, this time with the more careful command, to avoid a world rebuild: grep -rl --exclude-dir=build --exclude-dir=patches --exclude=ld-wrapper.in \ --exclude=sitecustomize.py --exclude=guix-emacs.el maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' Change-Id: I0871f5cf9ace79e34e78e24154d0da6ea95a3a91
2025-09-18Revert "Update Maxim's email address."Maxim Cournoyer
This reverts commit d0d87a744d724b7e7d5ac013c586039652087bb3. Oops! This caused a world rebuild. Change-Id: I25fff644b2b61d0ee93d69b457b04c72b5b74d15
2025-09-18Update Maxim's email address.Maxim Cournoyer
The change was automated via: git grep -l maxim.cournoyer@gmail.com | xargs sed -i 's/maxim.cournoyer@gmail.com/maxim@guixotic.coop/g' * .mailmap: New entry. Change-Id: Iaa88b1e51c94159c49138fb43910badb990eb169
2025-07-18gnu: ghc-8.4.4: Build with gcc-13.Janneke Nieuwenhuizen
* gnu/packages/haskell.scm (ghc-8.4)[native-inputs]: Add gcc-13. Change-Id: I6e460725910199beb4e348cd70051b5e3a164a43
2025-07-18gnu: ghc-8.0.2: Build with gcc-13.Janneke Nieuwenhuizen
* gnu/packages/haskell.scm (ghc-8.0)[native-inputs]: Add gcc-13. Change-Id: I22970808629d5b2c64891608a235fc967d19a960
2025-07-18gnu: ghc-7.10.3: Build with gcc-13.Janneke Nieuwenhuizen
* gnu/packages/haskell.scm (ghc-7)[native-inputs]: Add gcc-13. Change-Id: I22970808629d5b2c64891608a235fc967d19a960
2024-08-31gnu: ghc: Fix build with binutils ≥ 2.39.Josselin Poiret
ld warns about exec stack now, making some tests fail. Fix them (and also remove an unwarranted exec stack from libHSrts along with it). * gnu/packages/patches/ghc-9-StgCRunAsm-only-when-needed.patch * gnu/packages/patches/ghc-testsuite-recomp015-execstack.patch: New patches. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10, ghc-9.0, ghc-9.2, ghc-9.4): Use them. Change-Id: I8e5fc71d7394527d44ff37b1f9bd59d4971ec010
2024-08-31gnu: ghc-9.2: Remove unneeded glibc 2.33 patch.Josselin Poiret
* gnu/packages/patches/ghc-9.2-glibc-2.33-link-order.patch: Remove. * gnu/local.mk (dist_patch_DATA): Unregister. * gnu/packages/haskell.scm (ghc-9.2): Remove patch use. Change-Id: I7d305dadb627f6af55e4a5faabfc835e4a78a05b
2024-06-29gnu: ghc-9.2: Update to 9.2.8.Lars-Dominik Braun
* gnu/packages/haskell.scm (ghc-9.2): Update to 9.2.8. Change-Id: I4cbb48ad166f893a5b7c707505a77effce208b86
2024-06-29gnu: ghc-9.2: Make Cabal respect GHC_PACKAGE_PATHSören Tempel
**tl;dr** Applying this patch makes Cabal work in Guix environments and ensures that Cabal picks up Haskell packages installed via Guix. Guix makes heavy use of GHC_PACKAGE_PATH to make GHC pickup Haskell packages installed via the Guix package manager. The environment variable is set using native-search-paths from the GHC packages. Unfortunately, upstream Cabal does presently not respect GHC_PACKAGE_PATH. If this environment variable is set, `cabal build` and other commands will terminate. For building packages, Guix does not make much use of cabal-install hence this is not as big of an issue. However, cabal-install does therefore presently not work out-of-the-box in environments created by Guix. For example, in `guix shell` environments. This makes it essentially impossible to use Guix for setting up development environments for Haskell software. Cabal upstream is aware of this issue and a patch exists to workaround this problem. The patch is currently not merged upstream due to issues related to reconfiguration (changing GHC_PACKAGE_PATH between `cabal configure` and `cabal build`). However, I would argue that this edge case is not that relevant for Guix and therefore propose including this patch with the Cabal Guix package. As outlined above, cabal-install is not usable by default presently, and I would therefore argue that this is a major improvement over the current situation. I am willing to work with Cabal upstream to have this issue fixed upstream eventually. Note that this requires patching the GHC package instead of the cabal-install package as Guix uses the version of the Cabal package <https://hackage.haskell.org/package/Cabal> distributed with GHC. See: https://github.com/haskell/cabal/issues/3728 * gnu/packages/haskell-apps.scm (cabal-install): Include patch to support the GHC_PACKAGE_PATH environment variable. Signed-off-by: Sören Tempel <soeren@soeren-tempel.net> Signed-off-by: Lars-Dominik Braun <lars@6xq.net> Change-Id: Ib77ffa937b878690d0e2d8964b534842b99da039
2024-02-19gnu: Add ghc-7.0.Efraim Flashner
* gnu/packages/haskell.scm (ghc-7.0): New variable. Change-Id: I6b05c5fa87dca1d9fbea6b782b64e3d005d76c1c
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.