Message ID | 20211023173830.6151a138@tachikoma.lepiller.eu |
---|---|
State | Accepted |
Headers | show |
Series | [bug#51353,website] website: Fix build. | expand |
Hi Julien, On Sat, 23 Oct 2021 at 17:38, Julien Lepiller <julien@lepiller.eu> wrote: > I just noticed an issue building the website: with a recent change, the > code would check explicitely for GUIX_WEB_SITE_LOCAL in the > environment, but .guix.scm doesn't set it, so it fails with: Oops! My bad. > From 6be425e7e917f93ae5a0cb7bbb047d0c4c1f4c78 Mon Sep 17 00:00:00 2001 > From: Julien Lepiller <julien@lepiller.eu> > Date: Sat, 23 Oct 2021 17:30:59 +0200 > Subject: [PATCH] website: Fix build. > > * website/.guix.scm: Set GUIX_WEB_SITE_LOCAL explicitely. > --- > website/.guix.scm | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/website/.guix.scm b/website/.guix.scm > index f656d47..a7a6d36 100644 > --- a/website/.guix.scm > +++ b/website/.guix.scm > @@ -111,6 +111,7 @@ > (setvbuf (current-output-port) 'line) > (setvbuf (current-error-port) 'line) > > + (setenv "GUIX_WEB_SITE_LOCAL" "no") > (copy-recursively #$source ".") LGTM! Cheers, simon
Pushed along with a translation update, hopefully we can see the updated website soon :)
From 6be425e7e917f93ae5a0cb7bbb047d0c4c1f4c78 Mon Sep 17 00:00:00 2001 From: Julien Lepiller <julien@lepiller.eu> Date: Sat, 23 Oct 2021 17:30:59 +0200 Subject: [PATCH] website: Fix build. * website/.guix.scm: Set GUIX_WEB_SITE_LOCAL explicitely. --- website/.guix.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/website/.guix.scm b/website/.guix.scm index f656d47..a7a6d36 100644 --- a/website/.guix.scm +++ b/website/.guix.scm @@ -111,6 +111,7 @@ (setvbuf (current-output-port) 'line) (setvbuf (current-error-port) 'line) + (setenv "GUIX_WEB_SITE_LOCAL" "no") (copy-recursively #$source ".") ;; Set 'GUILE_LOAD_PATH' so that Haunt find the Guix modules and -- 2.33.0