diff options
author | Marius Bakke <marius@gnu.org> | 2021-07-23 17:14:13 +0200 |
---|---|---|
committer | Marius Bakke <marius@gnu.org> | 2021-07-23 17:26:46 +0200 |
commit | b389d1b18cef0e0ca7a635486998d911790ac3a9 (patch) | |
tree | 5fb90f9208f50c21667e530b7096cbc705149615 /gnu/packages/graphviz.scm | |
parent | 8561fdc85b1342299251b107bc356f4b3e295719 (diff) |
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.
Diffstat (limited to 'gnu/packages/graphviz.scm')
-rw-r--r-- | gnu/packages/graphviz.scm | 7 |
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") |