aboutsummaryrefslogtreecommitdiff
path: root/gn/packages
diff options
context:
space:
mode:
authorEfraim Flashner2019-10-25 08:47:21 -0500
committerEfraim Flashner2019-10-25 08:47:21 -0500
commit3969e3004985cef058ba313f030ed0fff4a5b6bc (patch)
tree3f95cebb5967b263dcec0af998870848fc3b9fb4 /gn/packages
parentb23e20d0d292f59b117aee197566eece3ead4f53 (diff)
downloadguix-bioinformatics-3969e3004985cef058ba313f030ed0fff4a5b6bc.tar.gz
gn: bnw: Unconditionally browse from the local directory.
* gn/packages/bnw.scm (bnw)[arguments]: Add to custom 'patch-source phase a workaround to always browse the website from the originating url.
Diffstat (limited to 'gn/packages')
-rw-r--r--gn/packages/bnw.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/packages/bnw.scm b/gn/packages/bnw.scm
index 036fe2b..99de4fc 100644
--- a/gn/packages/bnw.scm
+++ b/gn/packages/bnw.scm
@@ -35,6 +35,8 @@
(delete 'configure)
(add-after 'unpack 'patch-source
(lambda _
+ (substitute* "index.html"
+ (("url=home.php") "url=sourcecodes/home.php"))
(substitute* "sourcecodes/header_batchsearch.inc"
(("my_style.css") "my_new_style.css"))
#t))