aboutsummaryrefslogtreecommitdiff
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2014, 2021, 2022 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
;;; GNU Guix is free software; you can redistribute it and/or modify it
;;; under the terms of the GNU General Public License as published by
;;; the Free Software Foundation; either version 3 of the License, or (at
;;; your option) any later version.
;;;
;;; GNU Guix is distributed in the hope that it will be useful, but
;;; WITHOUT ANY WARRANTY; without even the implied warranty of
;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;;; GNU General Public License for more details.
;;;
;;; You should have received a copy of the GNU General Public License
;;; along with GNU Guix.  If not, see <http://www.gnu.org/licenses/>.

(define-module (guix)
  #:use-module (guix packages)
  #:re-export-and-replace (define-public))        ;from (guix packages)

;; The composite module that re-exports everything from the public modules.

(eval-when (eval load compile)
  (begin
    (define %public-modules
      '(base32
        build-system
        derivations
        download
        gexp
        monads
        monad-repl
        packages
        store
        utils))

    (for-each (let ((i (module-public-interface (current-module))))
                (lambda (m)
                  (module-use! i (resolve-interface `(guix ,m)))))
              %public-modules)))
>Guillaume Le Vaillant 2021-04-12gnu: racket: Don't inject store paths into Racket files....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> Philip McGrath 2021-03-05gnu: racket: Update to 8.0....* gnu/packages/scheme.scm (racket): Update to 8.0. [arguments]: Add #:configure-flags. Add 'patch-chez-configure' phase. [inputs]: Add "zlib", "zlib:static", "lz4", and "lz4:static". [synopsis, description]: Tweak. (racket-minimal): Update to 8.0. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Philip McGrath 2020-12-26gnu: gauche: Add slib support....* gnu/packages/scheme.scm (gauche)[inputs]: Add slib. [arguments]: Add configure-flag to find slib. Efraim Flashner 2020-12-26gnu: gauche: Update to 0.9.10....* gnu/packages/scheme.scm (gauche): Update to 0.9.10. [arguments]: Adjust file list in custom 'patch-/bin/sh phase. Remove 'patch-normalize-test phase. Adjust 'patch-network-tests phase. Signed-off-by: Efraim Flashner <efraim@flashner.co.il> Martin Becze 2020-11-24gnu: racket-minimal: Update upstream tarball hash....It changed in place. The only difference besides file metadata is in etc/config.rktd: - (catalogs . (https://download.racket-lang.org/releases/7.9/catalog/)) + (catalogs . (https://download.racket-lang.org/releases/7.9/catalog/ #f)) The same change was made for the racket package in c57157b89a56d33c76492a1fce1e521f00859f2a. * gnu/packages/scheme.scm (racket-minimal)[source]: Update hash. Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr> Jack Hill 2020-11-20gnu: racket: Update upstream tarball hash....It changed in place. The only difference besides file metadata is in etc/config.rktd: - (catalogs . (https://download.racket-lang.org/releases/7.9/catalog/)) + (catalogs . (https://download.racket-lang.org/releases/7.9/catalog/ #f)) * gnu/packages/scheme.scm (racket)[source]: Update hash. Tobias Geerinckx-Rice 2020-11-07gnu: racket: Update to 7.9....* gnu/packages/scheme.scm (racket, racket-minimal): Update to 7.9. Tobias Geerinckx-Rice 2020-10-19gnu: tinyscheme: Update to 1.42....* gnu/packages/scheme.scm (tinyscheme): Update to 1.42. Tobias Geerinckx-Rice 2020-09-02gnu: Add gerbil...* gnu/packages/scheme.scm: (gerbil): New variable. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Edouard Klein 2020-08-31gnu: racket-minimal: Fix hash for version 7.8....* gnu/packages/scheme.scm (racket-minimal): Fix hash. Signed-off-by: Julien Lepiller <julien@lepiller.eu> Brendan Tildesley