GNU bug report logs - #51353
[PATCH website] website: Fix build.

Previous Next

Package: guix-patches;

Reported by: Julien Lepiller <julien <at> lepiller.eu>

Date: Sat, 23 Oct 2021 15:39:02 UTC

Severity: normal

Tags: patch

Done: Julien Lepiller <julien <at> lepiller.eu>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 51353 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Julien Lepiller <julien <at> lepiller.eu>, 51353 <at> debbugs.gnu.org
Subject: Re: [bug#51353] [PATCH website] website: Fix build.
Date: Sat, 23 Oct 2021 19:56:03 +0200
Hi Julien,

On Sat, 23 Oct 2021 at 17:38, Julien Lepiller <julien <at> 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 <at> 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




This bug report was last modified 3 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.