From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Darrington Subject: Re: Install hook Date: Sun, 19 Mar 2017 12:23:39 +0100 Message-ID: <20170319112339.GA2875@jocasta.intra> References: <1489919448.1067.2.camel@pelzflorian.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="DocE+STaALJfprDB" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39644) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cpYwD-0002CQ-RR for guix-devel@gnu.org; Sun, 19 Mar 2017 07:23:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cpYwA-0000gw-NR for guix-devel@gnu.org; Sun, 19 Mar 2017 07:23:53 -0400 Received: from de.cellform.com ([88.217.224.109]:33038 helo=jocasta.intra) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cpYwA-0000bB-Eo for guix-devel@gnu.org; Sun, 19 Mar 2017 07:23:50 -0400 Content-Disposition: inline In-Reply-To: <1489919448.1067.2.camel@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: Florian Pelz Cc: guix-devel@gnu.org --DocE+STaALJfprDB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Florian, I agree that this is a problem. It has been discussed before, and various= =20 solutions have been suggested, but I don't think install hooks was one of them. Can you elaborate on your idea? What would an install hook do, and how wou= ld it work? J' On Sun, Mar 19, 2017 at 11:30:48AM +0100, Florian Pelz wrote: Hello, =20 Currently my ~/.guix-profile/share/glib-2.0/schemas/gschemas.compiled file contains only GSettings from one package. Guix warns about ???arbitrarily choosing??? this file when installing a package. This is bad; gschemas.compiled should be recreated on package install to include all GSettings stored in the Guix profile. =20 Arch Linux uses hooks to compile GSettings schemas after installing a package. =20 https://git.archlinux.org/svntogit/packages.git/tree/trunk/glib-compil= e-schemas.hook?h=3Dpackages/glib2 =20 Am I correct in that Guix does not support install hooks? I believe install hooks are the proper way to solve this. This affects more than just GSettings. =20 Regards, Florian =20 --=20 Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3=20 fingerprint =3D 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key. --DocE+STaALJfprDB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAljOajsACgkQimdxnC3oJ7NMDQCdHKhRJpnjxQd7h93BxdXKRy31 1GIAnjdH5UgTOzT5VzP7Y5f2hMvHBO8L =KL36 -----END PGP SIGNATURE----- --DocE+STaALJfprDB--