diff options
author | Efraim Flashner | 2021-08-15 11:59:21 +0300 |
---|---|---|
committer | Efraim Flashner | 2021-08-15 11:59:21 +0300 |
commit | 5a810426d7e7eff499d5b428470ed953233b22ad (patch) | |
tree | e341cf33c84c70c454589190419b8c09e5e63a1f | |
parent | 9d62e687b3844f6de97adfd9f059bebac45eb4ad (diff) | |
download | guix-bioinformatics-5a810426d7e7eff499d5b428470ed953233b22ad.tar.gz |
gn: genenetwork2: Don't hardcode python version.
-rw-r--r-- | gn/packages/genenetwork.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index f4b0dc4..8e4f5ef 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -456,7 +456,9 @@ Graphical Fragment Assembly} files and related formats.") (call-with-output-file (string-append (assoc-ref outputs "out") - "/lib/python3.8/site-packages" + "/lib/python" + (python-version (assoc-ref inputs "python")) + "/site-packages" "/wqflask/dependency-graph.html") (lambda (port) (format @@ -477,7 +479,9 @@ Graphical Fragment Assembly} files and related formats.") (let* ((output-dir (string-append (assoc-ref outputs "out") - "/lib/python3.8/site-packages/wqflask/")) + "/lib/python" + (python-version (assoc-ref inputs "python")) + "/site-packages/wqflask/")) (dot-file (string-append output-dir @@ -509,7 +513,9 @@ Graphical Fragment Assembly} files and related formats.") (call-with-output-file (string-append (assoc-ref outputs "out") - "/lib/python3.8/site-packages" + "/lib/python" + (python-version (assoc-ref inputs "python")) + "/site-packages" "/wqflask/DEPENDENCIES.md") (lambda (port) (format |