From 3b5d0f4d3e65ea81b105eb7b7e082b993fe3c97d Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Sun, 21 Apr 2024 21:46:11 +0200 Subject: [PATCH] audio.experimental.a-lec.org: fix website build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without that fix we have the following with guix 65e8472a4b6fc6f66871ba0dad518b7d4c63595e ("system: Remove nss-certs from OS templates, adjust doc."): building /gnu/store/qcf2709aq1nzh709fg2jvdq56diw75rd-website-0.1.drv... Backtrace: In guix/store.scm: 1409:13 19 (map/accumulate-builds # …) 1384:11 18 (map/accumulate-builds # …) 1302:8 17 (call-with-build-handler # …) 2182:25 16 (run-with-store # …) In guix/gexp.scm: 1205:2 15 (_ _) 1072:2 14 (_ _) 913:4 13 (_ _) In guix/store.scm: 2067:12 12 (_ #) 1409:13 11 (map/accumulate-builds # …) 1384:11 10 (map/accumulate-builds # …) 1302:8 9 (call-with-build-handler # …) 2182:25 8 (run-with-store # …) In guix/gexp.scm: 918:13 7 (_ _) In guix/store.scm: 2010:8 6 (_ _) In guix/gexp.scm: 299:22 5 (_ _) In guix/store.scm: 2010:8 4 (_ _) 2054:38 3 (_ #) In guix/grafts.scm: 336:4 2 (graft-derivation _ _ _ #:guile _ #:outputs _ #:system _) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: Throw to key `match-error' with args `("match" "no matching pattern" ())'. install: missing destination file operand after 'mumble-vm.img' Try 'install --help' for more information. make: *** [Makefile:707: mumble-vm.img] Error 1 Signed-off-by: Denis 'GNUtoo' Carikli --- audio.experimental.a-lec.org/mumble-vm-system.scm.tmpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/audio.experimental.a-lec.org/mumble-vm-system.scm.tmpl b/audio.experimental.a-lec.org/mumble-vm-system.scm.tmpl index 2723e72..3c56d4f 100644 --- a/audio.experimental.a-lec.org/mumble-vm-system.scm.tmpl +++ b/audio.experimental.a-lec.org/mumble-vm-system.scm.tmpl @@ -59,6 +59,7 @@ needed for unattended upgrades to work.") (home-page "DOMAIN") (license license:gpl3+))) + (define website (package (name "website") @@ -69,8 +70,8 @@ needed for unattended upgrades to work.") (arguments (list #:install-plan - #~(list '("index.html" "var/www/DOMAIN/") - '(#$source "var/www/DOMAIN/")))) + #~(list '("first-boot.sh" "var/www/DOMAIN/") + '(#$source "var/www/DOMAIN/mumble-vm.tar.xz")))) (synopsis "The DOMAIN website.") (description "The website contains how to use the service, and how to