summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/graphviz.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/graphviz.scm b/gnu/packages/graphviz.scm
index 70b511c227..abf20969c5 100644
--- a/gnu/packages/graphviz.scm
+++ b/gnu/packages/graphviz.scm
@@ -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")