gnu: guile@3: Disable JIT on GNU/Hurd.

* gnu/packages/guile.scm (guile-3.0)[arguments]: New field.
This commit is contained in:
Ludovic Courtès 2020-04-05 12:54:29 +02:00
parent 1c4268e414
commit 916ec91f23
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -291,6 +291,13 @@ (define-public guile-3.0
(sha256
(base32
"12lziar4j27j9whqp2n18427q45y9ghq7gdd8lqhmj1k0lr7vi2k"))))
(arguments
;; XXX: JIT-enabled Guile crashes in obscure ways on GNU/Hurd.
(if (hurd-target?)
(substitute-keyword-arguments (package-arguments guile-2.2)
((#:configure-flags flags ''())
`(cons "--disable-jit" ,flags)))
(package-arguments guile-2.2)))
(native-search-paths
(list (search-path-specification
(variable "GUILE_LOAD_PATH")