all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luis Felipe via Guix-patches via <guix-patches@gnu.org>
To: 47623@debbugs.gnu.org
Subject: [bug#47623] [PATCH] website: README: Fix build and serve commands
Date: Tue, 06 Apr 2021 17:52:48 +0000	[thread overview]
Message-ID: <LL3c9sVaMk_UGYOIfdKlIqHVqxEEYrPaCROMIbyj0M99adj7H15JW6rAj66tLc5pauNiiGvqOnG1cT3Oc3WIRSUMvrMbuBiMC5L7oXsBCAQ=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 272 bytes --]

Hi,

The instructions to build and run the website locally fail because they refer to a "locale" directory, which does not exist (at least in my Guix System). It should be "locales" instead.

Best,


---
Luis Felipe López Acevedo
https://luis-felipe.gitlab.io/

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-website-README-Fix-build-and-serve-commands.patch --]
[-- Type: text/x-patch; name=0001-website-README-Fix-build-and-serve-commands.patch, Size: 1597 bytes --]

From ce3807b79aa7eb20c53c8679ba39f6238c041098 Mon Sep 17 00:00:00 2001
From: Luis Felipe <luis.felipe.la@protonmail.com>
Date: Tue, 6 Apr 2021 12:36:30 -0500
Subject: [PATCH] website: README: Fix build and serve commands.

Both commands failed because they referred to a directory that does not
exist: $HOME/.guix-profile/lib/locale instead of
$HOME/.guix-profile/lib/locales (plural).

* website/README (Running the website): Fix path to locales.
---
 website/README | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/website/README b/website/README
index 69e666c..7f386f6 100644
--- a/website/README
+++ b/website/README
@@ -33,7 +33,7 @@ commands:
 ** 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_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locales \
                           -E GUIX_WEB_SITE_LOCAL  --share=/tmp                           \
                           -- haunt build
 #+end_example
@@ -41,7 +41,7 @@ commands:
 ** Serve locally
 #+begin_example
   guix environment -CN -m manifest.scm                                \
-       -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locale \
+       -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locales \
        --share=/tmp                                                   \
        -- haunt serve -w
 #+end_example

base-commit: 906436c869b01c57fac9418fb32d3ddd0c6b196f
-- 
2.31.0


             reply	other threads:[~2021-04-06 17:56 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 17:52 Luis Felipe via Guix-patches via [this message]
2021-04-06 18:14 ` [bug#47623] [PATCH] website: README: Fix build and serve commands Leo Famulari
2021-04-06 18:26   ` Mathieu Othacehe
2021-05-13 20:43 ` Luis Felipe via Guix-patches via
2021-05-21 14:02 ` bug#47623: " Luis Felipe 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

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

  git send-email \
    --in-reply-to='LL3c9sVaMk_UGYOIfdKlIqHVqxEEYrPaCROMIbyj0M99adj7H15JW6rAj66tLc5pauNiiGvqOnG1cT3Oc3WIRSUMvrMbuBiMC5L7oXsBCAQ=@protonmail.com' \
    --to=guix-patches@gnu.org \
    --cc=47623@debbugs.gnu.org \
    --cc=luis.felipe.la@protonmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.