guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51353] [PATCH website] website: Fix build.


From: zimoun
Subject: [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@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]