From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:56586) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j35q3-0000nh-Ax for guix-patches@gnu.org; Sat, 15 Feb 2020 17:23:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j35q2-0003Mr-2q for guix-patches@gnu.org; Sat, 15 Feb 2020 17:23:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58792) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j35q2-0003Mc-05 for guix-patches@gnu.org; Sat, 15 Feb 2020 17:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j35q1-0006zZ-Qm for guix-patches@gnu.org; Sat, 15 Feb 2020 17:23:01 -0500 Subject: [bug#39625] [PATCH] website: Update Guix manifest. Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:56547) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j35pi-0000nL-Pd for guix-patches@gnu.org; Sat, 15 Feb 2020 17:22:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j35ph-0003C8-KX for guix-patches@gnu.org; Sat, 15 Feb 2020 17:22:42 -0500 Received: from sender4-pp-o91.zoho.com ([136.143.188.91]:25158) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j35ph-00039V-Bo for guix-patches@gnu.org; Sat, 15 Feb 2020 17:22:41 -0500 Message-ID: <20200215222222.15081-1-sirgazil@zoho.com> Date: Sat, 15 Feb 2020 17:22:22 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf8 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" Reply-to: sirgazil , sirgazil via Guix-patches From: sirgazil via Guix-patches via To: 39625@debbugs.gnu.org Cc: sirgazil * website/README (Development environment): Use the manifest. * website/guix.packages: Use specifications->manifest. --- website/README | 12 ++++++++---- website/guix.packages | 26 +++++++++++++------------- 2 files changed, 21 insertions(+), 17 deletions(-) diff --git a/website/README b/website/README index d3a3a78..180eee9 100644 --- a/website/README +++ b/website/README @@ -9,14 +9,18 @@ files of the website. =20 * Development environment =20 -This website is developed using the [[https://www.gnu.org/software/guix/do= wnload/][GNU Guix]] package manager. Run the -following command to install all the software needed to build the -website: +Assuming you already have [[https://www.gnu.org/software/guix/download/][G= NU Guix]] installed, you can use the manifest +file provided with the source, ~guix.packages~, to create a separate +Guix profile with all the software required to work on the website. +For instance: =20 #+BEGIN_EXAMPLE -$ guix package -i git glibc-locales gnutls guile guile-json guile-syntax-h= ighlight guix haunt +$ guix package -m guix.packages -p path/to/development/profiledir/profile #+END_EXAMPLE =20 +See [[https://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice= .html#Guix-Profiles-in-Practice][Guix Profiles in Practice]] for more infor= mation about creating and +using profiles. + * Running the website =20 To try out the website locally while you work on it, run the following diff --git a/website/guix.packages b/website/guix.packages index 386307c..2f05e65 100644 --- a/website/guix.packages +++ b/website/guix.packages @@ -1,16 +1,16 @@ -;;; Packages required to develop the website. -;;; (See guix package --manifest option for more details on this file). +;;; This file is a GNU Guix manifest file. You can use it with the +;;; "guix package" command to install all the packages necessary to +;;; develop the website. =20 -(use-modules (guix profiles) -=09 (gnu packages)) +(use-modules (gnu packages)) =20 =20 -(define dev-packages - (list "glibc-locales" -=09"guile@2.2" -=09"guile-syntax-highlight" -=09"guix" -=09"haunt")) - - -(map specification->package dev-packages) +(specifications->manifest + (list "git" + "glibc-locales" + "gnutls" + "guile" + "guile-json" + "guile-syntax-highlight" + "guix" + "haunt")) --=20 2.25.0