From patchwork Thu Oct 21 09:41:37 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 33995 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id BB5BC27BBE3; Thu, 21 Oct 2021 10:43:50 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2, SPF_HELO_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 8043227BBE1 for ; Thu, 21 Oct 2021 10:43:50 +0100 (BST) Received: from localhost ([::1]:36442 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdUc1-00039x-Lq for patchwork@mira.cbaines.net; Thu, 21 Oct 2021 05:43:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51600) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdUaI-0001EK-Km for guix-patches@gnu.org; Thu, 21 Oct 2021 05:42:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mdUaI-000683-Cf for guix-patches@gnu.org; Thu, 21 Oct 2021 05:42:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mdUaI-0006EJ-A8 for guix-patches@gnu.org; Thu, 21 Oct 2021 05:42:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50515] [PATCH v3 1/2] website: Tweak 'GUIX_WEB_SITE_LOCAL'. References: <20210911001424.9860-1-zimon.toutoune@gmail.com> In-Reply-To: <20210911001424.9860-1-zimon.toutoune@gmail.com> Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 21 Oct 2021 09:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50515 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50515@debbugs.gnu.org Cc: zimoun Received: via spool by 50515-submit@debbugs.gnu.org id=B50515.163480931823924 (code B ref 50515); Thu, 21 Oct 2021 09:42:02 +0000 Received: (at 50515) by debbugs.gnu.org; 21 Oct 2021 09:41:58 +0000 Received: from localhost ([127.0.0.1]:56271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdUaE-0006Do-2r for submit@debbugs.gnu.org; Thu, 21 Oct 2021 05:41:58 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:39917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mdUaC-0006DW-J8 for 50515@debbugs.gnu.org; Thu, 21 Oct 2021 05:41:56 -0400 Received: by mail-wm1-f46.google.com with SMTP id y22-20020a1c7d16000000b003231ea3d705so2482400wmc.4 for <50515@debbugs.gnu.org>; Thu, 21 Oct 2021 02:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kapqVad6eu9vRG6USlZ8Pct3QV/x7LLuJ8c/seSQr+4=; b=iyVNA9Tm3lIZKqOctqlaxWQT3koDI7At2eIfv56GMPBGxgPLwlxb0lyIA8HB5KXBbf mJKI5gGg+GrnX2DIk0u04PaDFpbvKWzQRrnDxFwDLwikEjNYloBJkbPhTAzO2EWE4pyj RRAT4Prn4HiDXO5Z+Vs5gglbxED8RLRuFS2LuSMKUqCM1quP0+lKwkhLoC93ZyCq9Cg1 2xx4iXXDuiPxem1Xwzf7FSbPpbNL/p/2lzpdDQG4LWt+y9sJka9PwauufagYfyhXlkor L65ygkSc6ghK0gjdN2q9w8JH1elOzqo8LjswkDDsxn0p9HSDEdYzVZi+aHwrShpU/aeo Q3xA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=kapqVad6eu9vRG6USlZ8Pct3QV/x7LLuJ8c/seSQr+4=; b=MveDA/p/8h59bB7xtDKG+FumsYHYEAhQFoQocWvsDMByHiyNmI20AFx0CA7Koy0CyI CyaYwHj0yt0dCarsSlndtHBliaYOKFxE1lZOjxG4VnVZNywYHpU6LcPJEA0aRSckD2al 8cpMRdgRC7QKJ5zC6h//pobREPtCXjF4FQPKw8F5Y1Gqun0TsuKgRm/2trmPBPqxKI7b a5Qr6EYq2Qv9tjS/nZespu97yUhwjsFLooD1ZYcfcEwnEB+r74f+H2a5KaZQzr3KBXS0 bSYbj63c+bimzNUiKnRxpQemeVEqN+E39x2WsII5Ub7DKmmagqnxhLaQ2Zun/lIGcc75 D9UQ== X-Gm-Message-State: AOAM532DTqSQCv6/74AG4BuV5+/pK+ziAn3nk0C5kElzAiI1y9Xbzk7g 7xHdNpHsNMglFBuX//jf5Y1cBcGiGlQ= X-Google-Smtp-Source: ABdhPJzL4XFVShGOgcI6xSExnXyEDbH08oFg4yQmjHT5mtCu5oJWolSEk0d7HMMNo8pm/GScVLO+tg== X-Received: by 2002:a05:600c:2044:: with SMTP id p4mr5396602wmg.53.1634809310623; Thu, 21 Oct 2021 02:41:50 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l24sm7316991wmi.3.2021.10.21.02.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Oct 2021 02:41:50 -0700 (PDT) From: zimoun Date: Thu, 21 Oct 2021 11:41:37 +0200 Message-Id: <20211021094138.2245-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * website/apps/packages/data.scm (%package-list): Compare to 'yes' instead of any value. * website/README: Document it. --- website/README | 8 ++++++++ website/apps/packages/data.scm | 3 ++- 2 files changed, 10 insertions(+), 1 deletion(-) base-commit: 8b85fe7dd0bb000105f2bcd4955a7d2c6cd84298 diff --git a/website/README b/website/README index ce2819f..bc623c5 100644 --- a/website/README +++ b/website/README @@ -37,6 +37,14 @@ commands: -- haunt build #+end_example +Any other value than =GUIX_WEB_SITE_LOCAL=yes= will build the full website +considering all the packages and not a small subset. Note that the final +website is built using the following command: + +#+begin_example + guix build -f .guix.scm +#+end_example + ** Serve locally #+begin_example LANG=en_US.UTF-8 guix environment -CN -m manifest.scm \ diff --git a/website/apps/packages/data.scm b/website/apps/packages/data.scm index d1bbc92..eb34d26 100644 --- a/website/apps/packages/data.scm +++ b/website/apps/packages/data.scm @@ -50,7 +50,8 @@ (string