diff options
author | BonfaceKilz | 2021-01-12 22:43:59 +0300 |
---|---|---|
committer | Gitea | 2021-01-12 14:09:34 -0600 |
commit | 8cb0d77354b82dcc7a6579b97604f41b34a789f0 (patch) | |
tree | f2c2e38e4627c69993f1f6c3af682ae84aff8c0b /gn/packages | |
parent | a63306a1b15ce60b93db1ef83e5cff954f6b85f5 (diff) | |
download | guix-bioinformatics-8cb0d77354b82dcc7a6579b97604f41b34a789f0.tar.gz |
gn: genenetwork1: Create "useralt" and replace "user" with it
* gn/packages/genenetwork.scm (genenetwork1):
[arguments]: In 'changes-for-deployed-service, copy "web/webqtl/user" to
"web/webqtl/useralt" and replace how "user" is imported in
"web/webqtl/main.py"
Diffstat (limited to 'gn/packages')
-rw-r--r-- | gn/packages/genenetwork.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gn/packages/genenetwork.scm b/gn/packages/genenetwork.scm index 4173157..e8c11a7 100644 --- a/gn/packages/genenetwork.scm +++ b/gn/packages/genenetwork.scm @@ -772,6 +772,13 @@ written in C") (symlink "/gnshare/gn/web/genotypes" "web/genotypes") (substitute* "web/webqtl/base/webqtlConfig.py" (("http://www.genenetwork.org") "http://gn1-test.genenetwork.org")) + ;; Inside the gn1 container, there's some conflict when + ;; importing the user module, therefore, as a hack, rename + ;; user to useralt + (mkdir "web/webqtl/useralt") + (copy-recursively "web/webqtl/user" "web/webqtl/useralt") + (substitute* '("web/webqtl/main.py") + (("from user import") "from useralt import")) #t))) (add-after 'unpack 'use-local-links (lambda _ |