me
/
guix
Archived
1
0
Fork 0

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
Marius Bakke 2021-07-23 17:14:13 +02:00
parent 8561fdc85b
commit b389d1b18c
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 2 deletions

View File

@ -89,8 +89,11 @@
(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")