Subject: bug#76402: [PATCH] hydra: services: guix-packages-website: Update to 0.4.0-0.3abfadab05.

From: [email-masked]
Date: Thu, 20 Feb 2025 12:10:45 -0500

From: Luis Felipe <[email-masked]>

* hydra/modules/sysadmin/services.scm (%guix-packages-website): Update
commit, version and hash accordingly.
(guix-packages-website-shepherd-services): Update file mappings in
the least authority wrapper. Namely, map "sys/i18n/json" (artanis now
requires it) and "lib" (the guile "gweb" library is now inside it).
---
 hydra/modules/sysadmin/services.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/hydra/modules/sysadmin/services.scm b/hydra/modules/sysadmin/services.scm
index dd986ad..db05913 100644
--- a/hydra/modules/sysadmin/services.scm
+++ b/hydra/modules/sysadmin/services.scm
@@ -1212,8 +1212,8 @@ to a selected directory.")
 ;;;
 
 (define %guix-packages-website
-  (let* ((commit "e669a5e9630f474145796d26917f4fa30aef3227")
-         (version (git-version "0.3.0" "0" commit)))
+  (let* ((commit "3abfadab053836be1f14e4c95645488465b342db")
+         (version (git-version "0.4.0" "0" commit)))
     (origin
       (method git-fetch)
       (uri (git-reference
@@ -1222,7 +1222,7 @@ to a selected directory.")
       (file-name (git-file-name "guix-packages-website" version))
       (sha256
        (base32
-        "16dgzd7hw65dhapcsny1gf13cy13yb53pb7n67yckhplj8xxhj50")))))
+        "0fsnizb5syx3vc4qf94kc3wpbz38p8y5l3m8sqqi5717s5886j5p")))))
 
 (define-record-type* <guix-packages-website-configuration>
   guix-packages-website-configuration make-guix-packages-website-configuration
@@ -1287,6 +1287,10 @@ to a selected directory.")
                           (source "/var/cache/guix-packages-website")
                           (target "/var/lib/guix-packages-website/tmp/cache")
                           (writable? #t))
+                         (file-system-mapping
+                          (source "/var/cache/guix-packages-website")
+                          (target "/var/lib/guix-packages-website/sys/i18n/json")
+                          (writable? #t))
                          (file-system-mapping
                           (source (file-append glibc-utf8-locales "/lib/locale"))
                           (target "/run/current-system/locale"))
@@ -1294,7 +1298,7 @@ to a selected directory.")
                                 (file-system-mapping
                                  (source (file-append origin (string-append "/" file)))
                                  (target (string-append "/var/lib/guix-packages-website/" file))))
-                              '("conf" "ENTRY" "gweb" "icon.svg" "pub")))
+                              '("conf" "ENTRY" "icon.svg" "lib" "pub")))
        #:directory "/var/lib/guix-packages-website"
        #:namespaces (delq 'net %namespaces)
        #:preserved-environment-variables

base-commit: 7eee5d9b8405a05633ab21022c8ff6289fb206d8
-- 
2.46.0