* gnu/packages/scheme.scm (chibi-scheme)[arguments]: Set CC to
CC-FOR-TARGET in #:make-flags rather than hard-coding it to "gcc" as an
environment variable.
* gnu/packages/scheme.scm (mit-scheme): Update to 11.2.
[native-inputs]: Add ‘texlive-epsf’ to ‘telive-union’, and add ‘ghostscript’.
[inputs]: Add ‘ncurses’. Replace the URL for i686 with the URL for aarch64.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
* gnu/packages/scheme.scm (bigloo): Update to 4.3g.
[source]: Remove bundled libunistring and pcre.
[arguments]: Add 'fix-gmp-detection' phase. Add options to 'configure' phase
to throw an error when gmp is not found.
Apparently, during grafting, Guix can somehow mangle compiled
Racket CS files (.zo) such that Racket will refuse to load them.
(Maybe it has something to do with compression?)
So, we stop patching Racket sources with absolute paths to store
files (i.e. for foreign libraries to dlopen).
Instead, we put them in a data file that doesn't get compiled or,
in one case, embed it in C.
Fixes https://issues.guix.gnu.org/47064
* gnu/packages/patches/racket-sh-via-rktio.patch: New file.
Adds a special case at the C level, controlled by a preprocessor macro,
to handle attempts to execute "/bin/sh".
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/scheme.scm (racket)[source](patches): Apply it.
(racket)[arguments](#:configure-flags): Add the CPP flag to enable it.
(racket)[arguments](#:modules): Use srfi-1.
(racket)[arguments](#:phases): Remove 'patch-/bin/sh and 'pre-configure.
Change 'pre-configure-minimal to just change directory.
Add 'patch-config.rktd-lib-search-dirs after 'build and before 'install
to configure Racket's "lib-search-dirs".
(racket, racket-minimal)[inputs]: Add bash-minimal as an explicit input.
(racket-minimal)[source]: Adjust to inherit patches from racket.
(racket-minimal)[arguments]: Inherit from racket: changes no longer needed.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This is a follow-up to commit 99bf646d8f.
* gnu/packages/scheme.scm (racket-minimal)[source]: Update hash.
Signed-off-by: Marius Bakke <mbakke@fastmail.com>
* gnu/packages/scheme.scm (racket-minimal): New variable.
(racket-minimal)[arguments]: Split 'pre-configure phase so that the
non-minimal part can be easily removed in racket-minimal.
* gnu/packages/scheme.scm (racket): Update to 7.6.
[home-page]: Use HTTPS.
* gnu/packages/patches/racket-store-checksum-override.patch: Adjust for 7.6.