all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#47623] [PATCH] website: README: Fix build and serve commands
@ 2021-04-06 17:52 Luis Felipe via Guix-patches via
  2021-04-06 18:14 ` Leo Famulari
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Luis Felipe via Guix-patches via @ 2021-04-06 17:52 UTC (permalink / raw)
  To: 47623

[-- 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


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-21 14:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-06 17:52 [bug#47623] [PATCH] website: README: Fix build and serve commands Luis Felipe via Guix-patches via
2021-04-06 18:14 ` 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

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.