From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Special setup for Guix atop another distro Date: Mon, 18 May 2015 22:17:37 +0200 Message-ID: <878uclljxa.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuRTw-0000g2-2t for guix-devel@gnu.org; Mon, 18 May 2015 16:17:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YuRTs-0004Bo-RB for guix-devel@gnu.org; Mon, 18 May 2015 16:17:48 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:36789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YuRTs-0004Bj-NE for guix-devel@gnu.org; Mon, 18 May 2015 16:17:44 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:43443 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YuRTs-0001jT-2F for guix-devel@gnu.org; Mon, 18 May 2015 16:17:44 -0400 List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello! Our manual lacks info on things that need to be tweaked when using Guix on top of another distro. To get the discussion started, here=E2=80=99s a preliminary patch for you p= eople to complete. :-) Please report all the things that you=E2=80=99ve had to tweak, or annoyances that you don=E2=80=99t know how to fix. Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/guix.texi b/doc/guix.texi index 6964a4e..056518f 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -87,6 +87,7 @@ Installation * Running the Test Suite:: Testing Guix. * Setting Up the Daemon:: Preparing the build daemon's environment. * Invoking guix-daemon:: Running the build daemon. +* Application Setup:: Application-specific setup. Setting Up the Daemon @@ -246,6 +247,7 @@ instead, you want to install the complete GNU operating system, * Running the Test Suite:: Testing Guix. * Setting Up the Daemon:: Preparing the build daemon's environment. * Invoking guix-daemon:: Running the build daemon. +* Application Setup:: Application-specific setup. @end menu @node Binary Installation @@ -830,6 +832,39 @@ daemons on the same machine. @end table +@node Application Setup +@section Application Setup + +When using Guix on top of another GNU/Linux distribution, you may find +that a few additional steps are needed to get everything in place. Here +are some of them. + +@subsection Locales + +Packages installed @i{via} Guix will not use the host system's locale +data. Instead, you must first install one of the locale packages +available with Guix and the define the @code{LOCPATH} environment +variable (@pxref{Locale Names, @code{LOCPATH},, libc, The GNU C Library +Reference Manual}): + +@example +$ guix package -i glibc-locales +$ export LOCPATH=$HOME/.guix-profile/lib/locale +@end example + +FIXME: Anything else? + +@subsection X11 Fonts + +The majority of graphical applications uses Fontconfig to locate and +load font and perform X11-client-side rendering. Guix's +@code{fontconfig} package looks for fonts in the user's profile by +default, so you have to install them there. + +FIXME: but actually Fontconfig's cache will have the host distro's fonts +listed, so maybe this is not a problem? + + @c ********************************************************************* @node Package Management @chapter Package Management --=-=-=--