aboutsummaryrefslogtreecommitdiff
path: root/gn/packages/genenetwork.scm
diff options
context:
space:
mode:
authorEfraim Flashner2020-07-26 15:21:30 +0300
committerEfraim Flashner2020-07-26 15:21:30 +0300
commit398759fae8ccf4354e751cc3405e0a486bf39439 (patch)
tree9723dcbc8c55270b48883f22507156b3ba2ef7cd /gn/packages/genenetwork.scm
parent051d2fc1f66c84c1ea0da0e49fa6712eb07414fa (diff)
downloadguix-bioinformatics-398759fae8ccf4354e751cc3405e0a486bf39439.tar.gz
A running genenetwork
Diffstat (limited to 'gn/packages/genenetwork.scm')
-rw-r--r--gn/packages/genenetwork.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm
index 214f040..36975bd 100644
--- a/gn/packages/genenetwork.scm
+++ b/gn/packages/genenetwork.scm
@@ -694,10 +694,9 @@ written in C")
(base32
"1s735dj8kf98gf5w58p10zzyc5766gn27j4j5yh07ksadg7h1kdi"))))
(build-system gnu-build-system)
- (propagated-inputs
+ (native-inputs
`(("ghostscript" ,ghostscript)
("graphviz" ,graphviz-2.26)
- ("httpd" ,httpd22-mod-python-24)
("python24" ,python-2.4)
("python-piddle" ,python24-piddle)
("wget" ,wget)))
@@ -708,8 +707,9 @@ written in C")
(delete 'configure)
(delete 'build)
(add-after 'patch-generated-file-shebangs 'patch-more-files
- (lambda* (#:key inputs #:allow-other-keys)
- (let ((piddle (assoc-ref inputs "python-piddle")))
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let ((piddle (assoc-ref inputs "python-piddle"))
+ (out (assoc-ref outputs "out")))
(substitute* "web/webqtl/networkGraph/networkGraphUtils.py"
(("/usr/local/bin/neato") (which "neato"))
(("/usr/local/bin/circo") (which "circo"))
@@ -730,6 +730,7 @@ written in C")
(("/usr/bin/python") (which "python"))
(("/usr/bin/env python") (which "python")))
(substitute* "web/webqtl/base/webqtlConfigLocal.py"
+ (("/gnshare/gn") out)
(("PythonPath.*")
(string-append "PythonPath = '" (which "python") "'\n"))
(("PIDDLE_FONT_PATH.*/lib")