From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Pelz Subject: Re: Install hook Date: Tue, 21 Mar 2017 21:51:19 +0100 Message-ID: <1490129479.1176.1.camel@pelzflorian.de> References: <1489919448.1067.2.camel@pelzflorian.de> <20170319112339.GA2875@jocasta.intra> <20170319131437.00d9608e@polymos.lepiller.eu> <87d1dbf3rs.fsf@elephly.net> <71f4164b-0f83-ed0d-12b8-4618e2138e8c@pelzflorian.de> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cqQkY-0008OX-3O for guix-devel@gnu.org; Tue, 21 Mar 2017 16:51:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cqQkU-00050b-4g for guix-devel@gnu.org; Tue, 21 Mar 2017 16:51:26 -0400 Received: from pelzflorian.de ([5.45.111.108]:52002 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cqQkT-00050B-Pz for guix-devel@gnu.org; Tue, 21 Mar 2017 16:51:22 -0400 Received: from floriannotebook.fritz.box (ip5f58bf63.dynamic.kabel-deutschland.de [95.88.191.99]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5397B360010 for ; Tue, 21 Mar 2017 21:51:20 +0100 (CET) In-Reply-To: <71f4164b-0f83-ed0d-12b8-4618e2138e8c@pelzflorian.de> 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" To: guix-devel@gnu.org On Tue, 2017-03-21 at 11:06 +0100, pelzflorian (Florian Pelz) wrote: > On 03/21/2017 09:11 AM, Ricardo Wurmus wrote: > >=20 > > Would you like to give it a try to add a profile hook for building > > =E2=80=9Cgschemas.compiled=E2=80=9D once for all packages in a given = profile? > >=20 >=20 > I=E2=80=99ll take a closer look at the code and try it. Since packages = are > shipped as part of Guix anyway, one profile hook in Guix maybe is not > worse than allowing hooks to be added to e.g. the glib package in this = case. >=20 > > Please also email a summary to bug-guix@gnu.org so that we can keep > > track of this. > >=20 >=20 > Will do. >=20 Sorry. I=E2=80=99m feeling a little stupid. GSettings checks each entry i= n XDG_DATA_DIRS for a gschemas.compiled file, so compiling the settings for each package=C2=A0individually does work. The issue with the app I wa= s trying to run was elsewhere. Now, all GSettings could still be compiled in a profile hook to a single gschemas.compiled file to eliminate the annoying warning message about =E2=80=9Carbitrarily choosing=E2=80=9D one of them. I have seen an = mlet for the first time today, so I=E2=80=99m not going to fix this. I=E2=80=99m also = not sure if this is really better than what (guix build glib-or-gtk-build-system) does. I=E2=80=99m also not going to file a bug since I=E2=80=99m not sure if we= even want to change the current method.