From 4ea5e4137c8ca5c325eacc9f8b092f3bd7eef015 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Thu, 21 Nov 2019 02:42:04 -0600 Subject: gn: rn6-assembly-error-app: Use pngs from static location. * gn/packages/bioinformatics.scm (rn6-assembly-error-app): Search for pngs in gn-rshiny'S $HOME rather than in /gnu/store. --- gn/packages/bioinformatics.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gn/packages/bioinformatics.scm') diff --git a/gn/packages/bioinformatics.scm b/gn/packages/bioinformatics.scm index 23d1524..d8f4803 100644 --- a/gn/packages/bioinformatics.scm +++ b/gn/packages/bioinformatics.scm @@ -751,7 +751,10 @@ different datasets. (source (assoc-ref %build-inputs "source"))) (copy-recursively source targetdir) (substitute* (string-append targetdir "/server.r") - (("./pngs") (string-append targetdir "/pngs")) + ;; This version is ideal for deploying with the included PNGs. + ;; But we want all of them, so we use a local copy in gn-rshiny's $HOME. + ;;(("./pngs") (string-append targetdir "/pngs")) + (("./pngs") "/home/gn-rshiny/hchen/rn6app/pngs") (("convert") convert)) (mkdir-p (string-append out "/bin")) (call-with-output-file app -- cgit v1.2.3