diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2019-08-22 16:39:48 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2019-08-22 16:40:18 +0200 |
| commit | 839642a5918926bf60452e4c5d22f1bffe33b77e (patch) | |
| tree | 95a8210b93f1a5ef84e92edd33d6dae7f7ee4e43 /website | |
| parent | website: Provide JSON package list. (diff) | |
| download | guix-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.scm | 14 |
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) |
