about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPjotr Prins2024-04-03 04:08:07 -0500
committerPjotr Prins2024-04-03 04:08:07 -0500
commit5871a33c424510c9fad10a240d355dfb31b027e7 (patch)
treecb50e866bb65f8ef5798b05b3e044bab549f9e00
parent4bce9fa4e3ebc3036ec94207b392d0c5b5d869d1 (diff)
downloadguix-bioinformatics-5871a33c424510c9fad10a240d355dfb31b027e7.tar.gz
genenetwork3-stable: patch path to R script
-rw-r--r--gn/packages/genenetwork.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 2053e78..a0c8a57 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -348,7 +348,7 @@
        (license license:agpl3+))))
 
 (define-public genenetwork3-stable
-  (let ((commit "c094d2db352a39cc001b21ad4195fc32de24c863")
+  (let ((commit "8414f1d74f6b09205d3cfd09240c787323474626")
         (revision "1"))
     (package
      (inherit genenetwork3)
@@ -356,7 +356,13 @@
      (version (string-append "stable-" (git-version "3.11" revision commit)))
      (arguments
        (list
-         #:tests? #f)) ; temporary disable on production setup
+         #:phases
+           #~(modify-phases %standard-phases
+             (add-before 'build 'update-paths
+               (lambda _
+                  (substitute* "gn3/api/rqtl.py"
+                     (("scripts/rqtl_wrapper.R)"
+                      (string-append #$output "/scripts/rqtl_wrapper.R"))))))))
      (source
       (git-checkout
        (url "https://github.com/genenetwork/genenetwork3")