mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
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.
This commit is contained in:
parent
8561fdc85b
commit
b389d1b18c
1 changed files with 5 additions and 2 deletions
|
@ -89,8 +89,11 @@ (define-public graphviz
|
|||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(lib (string-append out "/lib"))
|
||||
(extdir (string-append lib
|
||||
"/guile/2.0/extensions")))
|
||||
(extdir (string-append lib "/guile/"
|
||||
#$(version-major+minor
|
||||
(package-version
|
||||
(this-package-input "guile")))
|
||||
"/extensions")))
|
||||
(mkdir-p extdir)
|
||||
(rename-file (string-append
|
||||
lib "/graphviz/guile/libgv_guile.so")
|
||||
|
|
Loading…
Reference in a new issue