aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/genenetwork.scm
diff options
context:
space:
mode:
authorEfraim Flashner2021-08-15 11:59:21 +0300
committerEfraim Flashner2021-08-15 11:59:21 +0300
commit5a810426d7e7eff499d5b428470ed953233b22ad (patch)
treee341cf33c84c70c454589190419b8c09e5e63a1f /gn/packages/genenetwork.scm
parent9d62e687b3844f6de97adfd9f059bebac45eb4ad (diff)
downloadguix-bioinformatics-5a810426d7e7eff499d5b428470ed953233b22ad.tar.gz
gn: genenetwork2: Don't hardcode python version.
Diffstat (limited to 'gn/packages/genenetwork.scm')
-rw-r--r--gn/packages/genenetwork.scm12
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