unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: sirgazil via Guix-patches via <guix-patches@gnu.org>
To: 39625@debbugs.gnu.org
Cc: sirgazil <sirgazil@zoho.com>
Subject: [bug#39625] [PATCH] website: Update Guix manifest.
Date: Sat, 15 Feb 2020 17:22:22 -0500	[thread overview]
Message-ID: <20200215222222.15081-1-sirgazil@zoho.com> (raw)

* 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"))
-- 
2.25.0

             reply	other threads:[~2020-02-15 22:23 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-15 22:22 sirgazil via Guix-patches via [this message]
2020-07-25  1:54 ` [bug#39625] [PATCH] website: Update Guix manifest Brett Gilio
2020-07-26 16:03   ` sirgazil via Guix-patches via
2020-10-20  0:14 ` bug#39625: " sirgazil via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200215222222.15081-1-sirgazil@zoho.com \
    --to=guix-patches@gnu.org \
    --cc=39625@debbugs.gnu.org \
    --cc=sirgazil@zoho.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).