From fcd7c82bf3363bdcc3f00355bc4d002f337704af Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Thu, 15 Sep 2022 19:48:15 +0530 Subject: 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. --- genenetwork-development.scm | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'genenetwork-development.scm') 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 (("Jobs" jobs-link) (string-append -- cgit v1.2.3