From unknown Sat Jun 14 18:04:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#44051 <44051@debbugs.gnu.org> To: bug#44051 <44051@debbugs.gnu.org> Subject: Status: [PATCH] website: Update manifest. Reply-To: bug#44051 <44051@debbugs.gnu.org> Date: Sun, 15 Jun 2025 01:04:19 +0000 retitle 44051 [PATCH] website: Update manifest. reassign 44051 guix-patches submitter 44051 zimoun severity 44051 normal tag 44051 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 17 20:01:23 2020 Received: (at submit) by debbugs.gnu.org; 18 Oct 2020 00:01:23 +0000 Received: from localhost ([127.0.0.1]:35764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTw8Z-0004cn-Jy for submit@debbugs.gnu.org; Sat, 17 Oct 2020 20:01:23 -0400 Received: from lists.gnu.org ([209.51.188.17]:53242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kTw8Y-0004cf-Gl for submit@debbugs.gnu.org; Sat, 17 Oct 2020 20:01:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58022) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kTw8Y-0005IE-6u for guix-patches@gnu.org; Sat, 17 Oct 2020 20:01:22 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:39728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kTw8V-0001Mc-V2 for guix-patches@gnu.org; Sat, 17 Oct 2020 20:01:21 -0400 Received: by mail-wr1-x443.google.com with SMTP id y12so7453008wrp.6 for ; Sat, 17 Oct 2020 17:01:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LNY+gkcC4cqatRVAGt/XQlwR2uQmbqsgmBEnfW+foZo=; b=RK+5XsdRe03GNEPtdmxbFGlmB7vSPCpBU7KRHJJ35wAyj8PxrWn9G+oFkNTNOqVlcJ 8hHh1PYU/kKxp6pUgS8wLEPR6hugcV/hNqFCLqm1MVBsJxCD0OV8ban35gRN/XRFVoXZ +vw4ypGqNdyloKmdKfu1EUORXuumSPUKlblpMYoisUVEbjhIyoh1086PFoEkXrRnuKcO KBbzBIKLmCdWCyCMDkmkj5edMShpvgYXPpmLK+w8JFXP2N779dXXl3BCiP5RLsRN6ekf fEF+lh6b+tqnqHadL4zGr2bmQUHTBueVVTlBinszJxKMDrMRhKrCwWcoVatAgpn5HK1r zAUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=LNY+gkcC4cqatRVAGt/XQlwR2uQmbqsgmBEnfW+foZo=; b=iBB0esMipj7Hl9O0KQ9rJXd5FukLfDLFp+Qh+K3QpN3qIVrbAz4aSB+sSuu6tvoGbn QyyLxsPY0Yqonkj2b/AYuMVeyCEykrRuHs+UUDzc0LV2qNtw2p8O6qtAAyR4LE2CU8wD g/0m4g2NnCqeHdVT64QYzPvW7RjqX3Kto43NBtqE8T5n1oWaz5Qgm0+wQnLEEkYxIxhJ YHV84vGbPDSu1qcfy0KtoHbYklDHzsPRJnviSrp9d8jUlFOkUpF9Bfmk+ksWqRGyArrt mvqrqPVmUA4r34Ts6R7KRn31OhWBv8PSYVL3ML9tdltkoJPrsiIZCk7ZmGgkKyIxoBC9 186g== X-Gm-Message-State: AOAM530wcmB5JPgOw4Mj2VfIZltKn/A47jQ7IOkQjCw0k19PWAc92vaJ pqjYq2Ogh7u5o9V2BRgwrwKGDVXEYqs= X-Google-Smtp-Source: ABdhPJxHZBSxr+PDjBmTPNnYkk7LxEDbV9QZ+GhWUrkqib5tY+M/Mz/WQMcluOJemlf1M8hIcSUT2Q== X-Received: by 2002:adf:ab50:: with SMTP id r16mr11648263wrc.235.1602979276601; Sat, 17 Oct 2020 17:01:16 -0700 (PDT) Received: from localhost.localdomain ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id j17sm10527332wrw.68.2020.10.17.17.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Oct 2020 17:01:16 -0700 (PDT) From: zimoun To: guix-patches@gnu.org Subject: [PATCH] website: Update manifest. Date: Sun, 18 Oct 2020 02:01:06 +0200 Message-Id: <20201018000106.30868-1-zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::443; envelope-from=zimon.toutoune@gmail.com; helo=mail-wr1-x443.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit Cc: zimoun X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * website/guix.packages: Rename to... * website/manifest.scm: ...this. * website/README: Update. --- website/README | 27 ++++++++++++++++++++++----- website/guix.packages | 16 ---------------- website/manifest.scm | 30 ++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+), 21 deletions(-) delete mode 100644 website/guix.packages create mode 100644 website/manifest.scm diff --git a/website/README b/website/README index 64b09c1..9ef044f 100644 --- a/website/README +++ b/website/README @@ -14,21 +14,38 @@ following command to install all the software needed to build the website: #+BEGIN_EXAMPLE -$ guix package -i git glibc-locales gnutls guile guile-json guile-syntax-highlight guix haunt + guix package -m manifest.scm #+END_EXAMPLE +*Note*: the packages =guix= and =haunt= should have the same version of Guile, +otherwise building the website is slow and raises bunch of warnings. The +manifest file takes care. + * Running the website To try out the website locally while you work on it, run the following commands: #+BEGIN_EXAMPLE -$ cd path/to/guix-artwork/website -$ export GUILE_LOAD_PATH=$(guix build guile-syntax-highlight)/share/guile/site/3.0:$GUILE_LOAD_PATH -$ LC_ALL=en_US.utf8 GUIX_WEB_SITE_LOCAL=yes haunt build -$ haunt serve + cd path/to/guix-artwork/website #+END_EXAMPLE +** Build locally +#+begin_example + GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm \ + -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locale \ + -E GUIX_WEB_SITE_LOCAL --share=/tmp \ + -- haunt build +#+end_example + +** Serve locally +#+begin_example + guix environment -CN -m manifest.scm \ + -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locale \ + --share=/tmp \ + -- haunt serve -w +#+end_example + Then, visit http://localhost:8080/en/guix.html in a web browser. You can stop the server pressing ~Ctrl + C~ twice. diff --git a/website/guix.packages b/website/guix.packages deleted file mode 100644 index 386307c..0000000 --- a/website/guix.packages +++ /dev/null @@ -1,16 +0,0 @@ -;;; Packages required to develop the website. -;;; (See guix package --manifest option for more details on this file). - -(use-modules (guix profiles) - (gnu packages)) - - -(define dev-packages - (list "glibc-locales" - "guile@2.2" - "guile-syntax-highlight" - "guix" - "haunt")) - - -(map specification->package dev-packages) diff --git a/website/manifest.scm b/website/manifest.scm new file mode 100644 index 0000000..eda382a --- /dev/null +++ b/website/manifest.scm @@ -0,0 +1,30 @@ +(use-modules (guix packages) + ((gnu packages package-management) #:select (guix)) + ((gnu packages guile-xyz) #:select (haunt)) + (srfi srfi-1)) + +(define the-good-guile + (car (assoc-ref (package-native-inputs guix) "guile"))) + +(define haunt-the-ghost + (package + (inherit haunt) + (name "haunt-for-guix-website") + (inputs + `(("guile" ,the-good-guile) + ,@(alist-delete "guile" (package-inputs haunt)))))) + +(packages->manifest + (append + ;; Guile needs to be compatible + (list + guix + the-good-guile + haunt-the-ghost) + + ;; Other packages + (map specification->package + (list + "glibc-locales" + "git" + "guile-syntax-highlight")))) base-commit: 2e0252dfa809d5a38ce87245764d936b659c16b4 prerequisite-patch-id: 977ecbddcfeb54b30cf8874ecf70ce1d7e41fecb -- 2.28.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 19 04:31:24 2020 Received: (at 44051-done) by debbugs.gnu.org; 19 Oct 2020 08:31:25 +0000 Received: from localhost ([127.0.0.1]:39922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUQZg-0004pX-Jl for submit@debbugs.gnu.org; Mon, 19 Oct 2020 04:31:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kUQZf-0004jb-2d for 44051-done@debbugs.gnu.org; Mon, 19 Oct 2020 04:31:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58644) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kUQZZ-0005Dw-PK; Mon, 19 Oct 2020 04:31:17 -0400 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=58994 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kUQZZ-0004Lp-8L; Mon, 19 Oct 2020 04:31:17 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: zimoun Subject: Re: [bug#44051] [PATCH] website: Update manifest. References: <20201018000106.30868-1-zimon.toutoune@gmail.com> Date: Mon, 19 Oct 2020 10:31:15 +0200 In-Reply-To: <20201018000106.30868-1-zimon.toutoune@gmail.com> (zimoun's message of "Sun, 18 Oct 2020 02:01:06 +0200") Message-ID: <87362a39d8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 44051-done Cc: 44051-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, zimoun skribis: > * website/guix.packages: Rename to... > * website/manifest.scm: ...this. > * website/README: Update. Applied, thanks! :-) Ludo=E2=80=99. From unknown Sat Jun 14 18:04:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 16 Nov 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator