mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: guix-jupyter: Fix compilation with Guile-JSON >= 4.3.x.
Reported by wehlutyk on #guix. * gnu/packages/package-management.scm (guix-jupyter)[source]: Avoid 'define-json-mapping' name clash with Guile-JSON.
This commit is contained in:
parent
d6983b1331
commit
e9db10ae7f
1 changed files with 9 additions and 0 deletions
|
@ -1000,6 +1000,15 @@ (define-public guix-jupyter
|
|||
(substitute* "configure.ac"
|
||||
(("^GUILE_PKG.*")
|
||||
"GUILE_PKG([3.0 2.2])\n"))
|
||||
|
||||
;; Avoid name clash and build failure now that
|
||||
;; 'define-json-mapping' is also provided by Guile-JSON, as
|
||||
;; of version 4.3.
|
||||
(substitute* (find-files "." "\\.scm$")
|
||||
(("define-json-mapping")
|
||||
"define-json-mapping*")
|
||||
(("<=>")
|
||||
"<->"))
|
||||
#t))
|
||||
(file-name (string-append "guix-jupyter-" version "-checkout"))))
|
||||
(build-system gnu-build-system)
|
||||
|
|
Loading…
Reference in a new issue