| Commit message (Collapse) | Author | Age |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc-9.2): Update to 9.2.8.
Change-Id: I4cbb48ad166f893a5b7c707505a77effce208b86
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
**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
|
|
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc-7.0): New variable.
Change-Id: I6b05c5fa87dca1d9fbea6b782b64e3d005d76c1c
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Add new phase
'skip-failing-tests-i686-cuirass.
|
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc-9.0)[native-inputs]: Add patch and
snippet to ghc-testsuite input.
|
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc-9.2) [arguments]: Remove match conditional for
the skip-T21694-i686 phase.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
Times out on i686 CI, but not locally.
* gnu/packages/haskell.scm (ghc-9.2)[properties]: Add max-silent-time.
|
| |
| |
| |
| |
| |
| |
| | |
Conditionally, so we don’t rebuild GHC on amd64.
* gnu/packages/haskell.scm (ghc-9.2)[arguments]: Conditionally add phase
'skip-T21694-i686.
|
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| |
| | |
Tests time out on ci.guix.gnu.org.
* gnu/packages/haskell.scm (ghc-9.2)[arguments]: Modify #:make-flags.
|
| |
| |
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-9.0): Rename to just “ghc”.
(ghc-9.2): Ditto.
(ghc): Use ghc-9.2.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* 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>
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-9.2): New variable.
|
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-6.10): New variable.
|
| |
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-6.6)[arguments]: Patch references to /bin/sh
in Cabal and process internals.
|
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-6.6): New variable.
|
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-4)[arguments]: Pass "--with-gcc" option to
configure script.
|
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-6.0): New variable.
|
| |
| |
| |
| |
| |
| |
| |
| | |
* 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.
|
| |
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-4)[native-inputs]: Replace perl-5.14 with
perl-5.6.
|
| |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| | |
| | |
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-9.0): New variable.
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
| | |
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-8.6, ghc-8.8, ghc-8.10)[native-inputs]: Patch
the test suite for Python 3.10 compatibility.
|
|\| | |
|
| | |
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-8.10)[native-inputs]: Replace ghc-8.8
with ghc-8.6.
|
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Rewrite using g-exps.
|
| | |
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-8.10)[arguments]: Apply custom
'skip-failing-tests-i686 phase for all architectures.
|
| | |
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-8.8)[arguments]: Rewrite using g-exps.
Remove trailing #t from phases.
|
| | |
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-8.6)[arguments]: Rewrite using g-exps.
Remove trailing #t from phases.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| | |
| | |
| | |
| | | |
* gnu/packages/haskell.scm (ghc-7): Update to 7.10.3.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* 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.
|
| |/
| |
| |
| |
| | |
* gnu/packages/haskell.scm (ghc-7)[arguments]: Rewrite using
G-expressions. Remove trailing #t from phases.
|
|/
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc@4)[arguments]: Adjust custom 'bootstrap
phase to adjust replacement of config.sub.
[native-inputs]: Remove automake, add config.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* gnu/packages/haskell.scm (ghc-4)[source]: Use 'search-patches'.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* gnu/packages/haskell.scm (nhc98): New variable.
|