diff options
| -rw-r--r-- | gnu/packages/scheme.scm | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 3c688e12047..16904dce323 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm | |||
| @@ -37,6 +37,7 @@ | |||
| 37 | #:use-module (guix utils) | 37 | #:use-module (guix utils) |
| 38 | #:use-module (guix build-system gnu) | 38 | #:use-module (guix build-system gnu) |
| 39 | #:use-module (guix build-system trivial) | 39 | #:use-module (guix build-system trivial) |
| 40 | #:use-module (gnu packages autotools) | ||
| 40 | #:use-module (gnu packages bdw-gc) | 41 | #:use-module (gnu packages bdw-gc) |
| 41 | #:use-module (gnu packages compression) | 42 | #:use-module (gnu packages compression) |
| 42 | #:use-module (gnu packages libevent) | 43 | #:use-module (gnu packages libevent) |
| @@ -85,8 +86,7 @@ | |||
| 85 | (outputs '("out" "doc")) | 86 | (outputs '("out" "doc")) |
| 86 | (build-system gnu-build-system) | 87 | (build-system gnu-build-system) |
| 87 | (arguments | 88 | (arguments |
| 88 | `(#:tests? #f ; no "check" target | 89 | `(#:modules ((guix build gnu-build-system) |
| 89 | #:modules ((guix build gnu-build-system) | ||
| 90 | (guix build utils) | 90 | (guix build utils) |
| 91 | (srfi srfi-1)) | 91 | (srfi srfi-1)) |
| 92 | #:phases | 92 | #:phases |
| @@ -103,6 +103,20 @@ | |||
| 103 | (find-files "src/compiler" "^make\\.")) | 103 | (find-files "src/compiler" "^make\\.")) |
| 104 | (chdir "src") | 104 | (chdir "src") |
| 105 | #t)) | 105 | #t)) |
| 106 | (add-after 'unpack 'patch-/bin/sh | ||
| 107 | (lambda _ | ||
| 108 | (setenv "CONFIG_SHELL" (which "sh")) | ||
| 109 | (substitute* '("../tests/ffi/autogen.sh" | ||
| 110 | "../tests/ffi/autobuild.sh" | ||
| 111 | "../tests/ffi/test-ffi.sh" | ||
| 112 | "../tests/runtime/test-process.scm" | ||
| 113 | "runtime/unxprm.scm") | ||
| 114 | (("/bin/sh") (which "sh")) | ||
| 115 | (("\\./autogen\\.sh") | ||
| 116 | (string-append (which "sh") " autogen.sh")) | ||
| 117 | (("\\./configure") | ||
| 118 | (string-append (which "sh") " configure"))) | ||
| 119 | #t)) | ||
| 106 | ;; FIXME: the texlive-union insists on regenerating fonts. It stores | 120 | ;; FIXME: the texlive-union insists on regenerating fonts. It stores |
| 107 | ;; them in HOME, so it needs to be writeable. | 121 | ;; them in HOME, so it needs to be writeable. |
| 108 | (add-before 'build 'set-HOME | 122 | (add-before 'build 'set-HOME |
| @@ -150,7 +164,11 @@ | |||
| 150 | (delete-file-recursively old-doc-dir) | 164 | (delete-file-recursively old-doc-dir) |
| 151 | #t)))))) | 165 | #t)))))) |
| 152 | (native-inputs | 166 | (native-inputs |
| 153 | `(("texlive" ,(texlive-union (list texlive-tex-texinfo))) | 167 | `(;; Autoconf, Automake, and Libtool are necessary for the FFI tests. |
| 168 | ("autoconf" ,autoconf) | ||
| 169 | ("automake" ,automake) | ||
| 170 | ("libtool" ,libtool) | ||
| 171 | ("texlive" ,(texlive-union (list texlive-tex-texinfo))) | ||
| 154 | ("texinfo" ,texinfo) | 172 | ("texinfo" ,texinfo) |
| 155 | ("m4" ,m4))) | 173 | ("m4" ,m4))) |
| 156 | (inputs | 174 | (inputs |
