guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: website: README: Build a supported language.


From: julien lepiller
Subject: branch master updated: website: README: Build a supported language.
Date: Sat, 22 May 2021 09:34:02 -0400

This is an automated email from the git hooks/post-receive script.

roptat pushed a commit to branch master
in repository guix-artwork.

The following commit(s) were added to refs/heads/master by this push:
     new eeb5120  website: README: Build a supported language.
eeb5120 is described below

commit eeb5120135ad3f96f4aad2c7fa37364e6dca584b
Author: Julien Lepiller <julien@lepiller.eu>
AuthorDate: Sat May 22 15:30:00 2021 +0200

    website: README: Build a supported language.
    
    When passing LANG from the environment, the process will try to build
    for the local language, which is not supported if it is not one of
    `po/LINGUAS`. In addition, the manifest creates the required locales, so
    there is no need to share a potentially incomplete locale directory.
    
    * website/README (Build locally): Ensure building for a supported
    language.
---
 website/README | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/website/README b/website/README
index 69e666c..71f8cb7 100644
--- a/website/README
+++ b/website/README
@@ -32,17 +32,15 @@ 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_WEB_SITE_LOCAL  --share=/tmp                 
          \
+  LANG=en_US.UTF-8 GUIX_WEB_SITE_LOCAL=yes guix environment -C -m manifest.scm 
\
+                          -E LANG -E GUIX_WEB_SITE_LOCAL  --share=/tmp         
\
                           -- haunt build
 #+end_example
 
 ** Serve locally
 #+begin_example
-  guix environment -CN -m manifest.scm                                \
-       -E GUIX_LOCPATH -E LANG --share=$HOME/.guix-profile/lib/locale \
-       --share=/tmp                                                   \
+  LANG=en_US.UTF-8 guix environment -CN -m manifest.scm \
+       -E LANG --share=/tmp                             \
        -- haunt serve -w
 #+end_example
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]