guix-commits
[Top][All Lists]
Advanced

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

03/06: build: Include 'glibc-utf8-locales' in the binary tarball.


From: Ludovic Courtès
Subject: 03/06: build: Include 'glibc-utf8-locales' in the binary tarball.
Date: Fri, 7 Apr 2017 17:36:50 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 1165b08f8683b2a8c12753eb6fd26c2451bce81c
Author: Ludovic Courtès <address@hidden>
Date:   Fri Apr 7 22:41:46 2017 +0200

    build: Include 'glibc-utf8-locales' in the binary tarball.
    
    * Makefile.am (guix-binary.%.tar.xz): Add 'glibc-utf8-locales' and
    'glibc-final' to the 'guix pack' command line.
    * doc/guix.texi (Binary Installation): Mention 'etc/profile'.
---
 Makefile.am   | 6 ++++--
 doc/guix.texi | 8 ++++++++
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index c713d9a..c16a1cf 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -489,11 +489,13 @@ AM_DISTCHECK_CONFIGURE_FLAGS =                    \
   --with-nix-prefix="$(NIX_PREFIX)"            \
   --enable-daemon
 
-# The self-contained tarball.
+# The self-contained tarball.  Add 'glibc-utf8-locales' along with glibc just
+# so 'etc/profile' defines 'GUIX_LOCPATH' pointing to a valid set of locales.
 guix-binary.%.tar.xz:
        $(AM_V_GEN)GUIX_PACKAGE_PATH=                           \
        tarball=`$(top_builddir)/pre-inst-env guix pack -C xz   \
-         -s "$*" --localstatedir guix` ;                       \
+         -s "$*" --localstatedir guix glibc-utf8-locales       \
+         -e  '(@@ (gnu packages commencement) glibc-final)'` ; \
        cp "$$tarball" "address@hidden" ; mv "address@hidden" "$@"
 
 
diff --git a/doc/guix.texi b/doc/guix.texi
index 07ae660..d0f21ed 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -439,6 +439,14 @@ Make @code{root}'s profile available under 
@file{~/.guix-profile}:
          ~root/.guix-profile
 @end example
 
+Source @file{etc/profile} to augment @code{PATH} and other relevant
+environment variables:
+
address@hidden
+# GUIX_PROFILE=$HOME/.guix-profile \
+  source $GUIX_PROFILE/etc/profile
address@hidden example
+
 @item
 Create the group and user accounts for build users as explained below
 (@pxref{Build Environment Setup}).



reply via email to

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