summaryrefslogtreecommitdiff
path: root/website
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-08-22 16:39:48 +0200
committerLudovic Courtès <ludo@gnu.org>2019-08-22 16:40:18 +0200
commit839642a5918926bf60452e4c5d22f1bffe33b77e (patch)
tree95a8210b93f1a5ef84e92edd33d6dae7f7ee4e43 /website
parentwebsite: Provide JSON package list. (diff)
downloadguix-artwork-839642a5918926bf60452e4c5d22f1bffe33b77e.tar.gz
website: Use 'invoke' instead of 'system*'.
* website/.guix.scm (build): Use 'invoke'.
Diffstat (limited to 'website')
-rw-r--r--website/.guix.scm14
1 files changed, 8 insertions, 6 deletions
diff --git a/website/.guix.scm b/website/.guix.scm
index 068ef0d..3aa4425 100644
--- a/website/.guix.scm
+++ b/website/.guix.scm
@@ -65,12 +65,14 @@
;; Choose the layout for guix.gnu.org.
(setenv "GUIX_WEB_SITE_INFO" "t")
- (when (zero? (system* #+(file-append (specification->package "haunt")
- "/bin/haunt")
- "build"))
- (mkdir-p #$output)
- (copy-recursively "/tmp/gnu.org/software/guix" #$output)
- (symlink "guix.html" (string-append #$output "/index.html")))))))
+ (invoke #+(file-append (specification->package "haunt")
+ "/bin/haunt")
+ "build")
+
+ (mkdir-p #$output)
+ (copy-recursively "/tmp/gnu.org/software/guix" #$output
+ #:log (%make-void-port "w"))
+ (symlink "guix.html" (string-append #$output "/index.html"))))))
(computed-file "guix-web-site" build)