diff options
author | Arun Isaac | 2022-09-15 19:48:15 +0530 |
---|---|---|
committer | Arun Isaac | 2022-09-15 19:54:28 +0530 |
commit | fcd7c82bf3363bdcc3f00355bc4d002f337704af (patch) | |
tree | 871fb5c862aa963649c4127433cec364513984fe | |
parent | f351e95b476ef2bd248cb79c286c5e119dab1e6a (diff) | |
download | gn-machines-fcd7c82bf3363bdcc3f00355bc4d002f337704af.tar.gz |
Copy laminar HTML template from git source.
The upstream laminar package now uses git-fetch instead of
url-fetch. Hence, we must adapt our laminar template G-expression.
* genenetwork-development.scm (laminar-template-gexp): Copy
/src/resources/index.html from git source instead of extracting it
from a tarball.
-rw-r--r-- | genenetwork-development.scm | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/genenetwork-development.scm b/genenetwork-development.scm index 52ecb1f..8f0b0cb 100644 --- a/genenetwork-development.scm +++ b/genenetwork-development.scm @@ -678,15 +678,8 @@ menu link to channels.scm and the issue tracker at ISSUE-TRACKER-URI." #~(begin (use-modules (guix build utils)) - (set-path-environment-variable "PATH" - (list "bin") - (list #$gzip #$tar)) - (invoke "tar" "--extract" "--strip-components=3" - (string-append "--file=" #$(package-source laminar)) - (string-append "laminar-" - #$(package-version laminar) - "/src/resources/index.html")) - (copy-file "index.html" #$output) + (copy-file (string-append #$(package-source laminar) "/src/resources/index.html") + #$output) (substitute* #$output (("<router-link to=\"jobs\">Jobs</router-link>" jobs-link) (string-append |