From patchwork Sat Feb 15 22:22:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "ashish.is--- via Guix-patches\" via" X-Patchwork-Id: 20269 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 47C9027BBEA; Sat, 15 Feb 2020 22:23:11 +0000 (GMT) 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_SIGNED, FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID,URIBL_BLOCKED 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 ESMTP id 623DA27BBE4 for ; Sat, 15 Feb 2020 22:23:10 +0000 (GMT) Received: from localhost ([::1]:55212 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j35q9-0000qS-E9 for patchwork@mira.cbaines.net; Sat, 15 Feb 2020 17:23:09 -0500 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 X-Loop: help-debbugs@gnu.org Subject: [bug#39625] [PATCH] website: Update Guix manifest. Resent-From: sirgazil Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 15 Feb 2020 22:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39625 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39625@debbugs.gnu.org Cc: sirgazil X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158180537126844 (code B ref -1); Sat, 15 Feb 2020 22:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Feb 2020 22:22:51 +0000 Received: from localhost ([127.0.0.1]:36532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j35pq-0006ys-Gx for submit@debbugs.gnu.org; Sat, 15 Feb 2020 17:22:50 -0500 Received: from lists.gnu.org ([209.51.188.17]:49192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j35pn-0006yk-85 for submit@debbugs.gnu.org; Sat, 15 Feb 2020 17:22:48 -0500 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 ARC-Seal: i=1; a=rsa-sha256; t=1581805358; cv=none; d=zohomail.com; s=zohoarc; b=kH8+c1Ov/6s75BO4YmJplOXo6XoLJNeZ2MB34JMCLu1e3npwVyW30EkPl6enhvc4VZieowZpcnqkPm4wtwv9gvncT1uJpQeTzdR9o38G/pZJgqB7//cVah2pYsquKOgJ7a/NTlPE+Pqa1KsaN0rBHqCgS3RnW5MgT+6M/dx2uT4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1581805358; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=wRYqJfLJoClP4n01SHejVppnPbcGj5N9jptTLDedLRc=; b=gbjF4Zc0sLuLeyiLRadbIzwN80+900ze5Kq6JR17ordgv8PCnnxg0MIXpBml1H5OUPnI9wT6B5uG4n/bUUBzsAkbcbbr/+cX+WLP1oAudjwNl1kppZWM/0o8k4aWczVDmJS4uezgUiS7OhxJLU8XM8BRKxHIBiDNdiTRfoFfnrU= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=zoho.com; spf=pass smtp.mailfrom=sirgazil@zoho.com; dmarc=pass header.from= header.from= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=from:to:cc:message-id:subject:date:mime-version:content-type; b=dykv+KYZFo6qLhp734+gaOaIHhL7JNzRJfjf33VyE9WmlQQIloFt0YkCHHEHnwisdoXhWfPCe1vC KjDUcmKYiic9v5qx+H6uRmUKTNahGIJsw+rjhVYSe614fVsWE6VQ DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1581805358; s=zm2020; d=zoho.com; i=sirgazil@zoho.com; h=From:To:Cc:Message-ID:Subject:Date:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=wRYqJfLJoClP4n01SHejVppnPbcGj5N9jptTLDedLRc=; b=Ei2zyB2uAbNugdmJ57MuB1+T0GuX1dJRVQ1KGcYP62D7By1ObzvJc2WcUGHXBXOm oQzZ+liOm9Oq0HSLdgPBK5qmdMKVey2X+gVf1TwPt70AE7PcZn291ZafWja3vmN2c4L aKE4mfB9SfhVxnSobnU6h1wch4SSlMO7DHZ52M0U= Received: from localhost.localdomain (179.15.13.185 [179.15.13.185]) by mx.zohomail.com with SMTPS id 1581805356640854.2013489103148; Sat, 15 Feb 2020 14:22:36 -0800 (PST) Message-ID: <20200215222222.15081-1-sirgazil@zoho.com> Date: Sat, 15 Feb 2020 17:22:22 -0500 X-Mailer: git-send-email 2.25.0 MIME-Version: 1.0 X-ZohoMailClient: External X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Reply-to: sirgazil , sirgazil via Guix-patches X-Patchwork-Original-From: sirgazil via Guix-patches via From: "ashish.is--- via Guix-patches\" via" X-getmail-retrieved-from-mailbox: Patches * 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. * Development environment -This website is developed using the [[https://www.gnu.org/software/guix/download/][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/][GNU 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: #+BEGIN_EXAMPLE -$ guix package -i git glibc-locales gnutls guile guile-json guile-syntax-highlight guix haunt +$ guix package -m guix.packages -p path/to/development/profiledir/profile #+END_EXAMPLE +See [[https://guix.gnu.org/cookbook/en/html_node/Guix-Profiles-in-Practice.html#Guix-Profiles-in-Practice][Guix Profiles in Practice]] for more information about creating and +using profiles. + * Running the website 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. -(use-modules (guix profiles) - (gnu packages)) +(use-modules (gnu packages)) -(define dev-packages - (list "glibc-locales" - "guile@2.2" - "guile-syntax-highlight" - "guix" - "haunt")) - - -(map specification->package dev-packages) +(specifications->manifest + (list "git" + "glibc-locales" + "gnutls" + "guile" + "guile-json" + "guile-syntax-highlight" + "guix" + "haunt"))