From 5a810426d7e7eff499d5b428470ed953233b22ad Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Sun, 15 Aug 2021 11:59:21 +0300 Subject: gn: genenetwork2: Don't hardcode python version. --- gn/packages/genenetwork.scm | 12 +++++++++--- 1 file 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 -- cgit v1.2.3