From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:58135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gkWRE-0004ju-EW for guix-patches@gnu.org; Fri, 18 Jan 2019 10:52:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gkWR8-0002lx-9C for guix-patches@gnu.org; Fri, 18 Jan 2019 10:52:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:37664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gkWR8-0002lR-5i for guix-patches@gnu.org; Fri, 18 Jan 2019 10:52:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gkWR7-0008L3-UX for guix-patches@gnu.org; Fri, 18 Jan 2019 10:52:01 -0500 Subject: [bug#34118] [PATCH] guix: Add guard to texlive-configuration profile hook. Resent-Message-ID: From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20190117210217.18351-1-mail@cbaines.net> Date: Fri, 18 Jan 2019 16:51:49 +0100 In-Reply-To: <20190117210217.18351-1-mail@cbaines.net> (Christopher Baines's message of "Thu, 17 Jan 2019 21:02:17 +0000") Message-ID: <87lg3irmju.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Christopher Baines Cc: 34118@debbugs.gnu.org Hello, Christopher Baines skribis: > It is possible to generate a profile where this hook will crash, as the > texmf.cnf file does not exist to be patched by substitute*. A simple example > is the profile just containing texlive-fonts-txfonts. > > * guix/profiles.scm (texlive-configuration): Check that the texmf.cnf file > exists before trying to change it. LGTM, thanks! Ludo'.