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.master
parent
d6983b1331
commit
e9db10ae7f
|
@ -1000,6 +1000,15 @@ environments.")
|
||||||
(substitute* "configure.ac"
|
(substitute* "configure.ac"
|
||||||
(("^GUILE_PKG.*")
|
(("^GUILE_PKG.*")
|
||||||
"GUILE_PKG([3.0 2.2])\n"))
|
"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))
|
#t))
|
||||||
(file-name (string-append "guix-jupyter-" version "-checkout"))))
|
(file-name (string-append "guix-jupyter-" version "-checkout"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
Reference in New Issue