gnu: graphviz: Don't hard code Guile version.
* gnu/packages/graphviz.scm (graphviz)[arguments]: Install Guile bindings for the version of Guile provided as input.master
parent
8561fdc85b
commit
b389d1b18c
|
@ -89,8 +89,11 @@
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
(lib (string-append out "/lib"))
|
(lib (string-append out "/lib"))
|
||||||
(extdir (string-append lib
|
(extdir (string-append lib "/guile/"
|
||||||
"/guile/2.0/extensions")))
|
#$(version-major+minor
|
||||||
|
(package-version
|
||||||
|
(this-package-input "guile")))
|
||||||
|
"/extensions")))
|
||||||
(mkdir-p extdir)
|
(mkdir-p extdir)
|
||||||
(rename-file (string-append
|
(rename-file (string-append
|
||||||
lib "/graphviz/guile/libgv_guile.so")
|
lib "/graphviz/guile/libgv_guile.so")
|
||||||
|
|
Reference in New Issue