From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fJLI7-0007n1-V3 for guix-patches@gnu.org; Thu, 17 May 2018 11:58:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fJLI2-0000ih-3J for guix-patches@gnu.org; Thu, 17 May 2018 11:58:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59090) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fJLI1-0000id-VK for guix-patches@gnu.org; Thu, 17 May 2018 11:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fJLI1-00021N-NN for guix-patches@gnu.org; Thu, 17 May 2018 11:58:01 -0400 Subject: [bug#31462] [PATCH] profiles: Add hook to generate "gschemas.compiled". Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180515124917.1751-1-dannym@scratchpost.org> <87bmde4q2m.fsf@gnu.org> <874lj6pkdf.fsf@member.fsf.org> Date: Thu, 17 May 2018 17:56:50 +0200 In-Reply-To: <874lj6pkdf.fsf@member.fsf.org> ("=?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?="'s message of "Thu, 17 May 2018 19:55:08 +0800") Message-ID: <87k1s2xol9.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 31462@debbugs.gnu.org Hey, iyzsong@member.fsf.org (=E5=AE=8B=E6=96=87=E6=AD=A6) skribis: > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > >> Hello! >> >> Danny Milosavljevic skribis: >> >>> * guix/profiles.scm (glib-schemas): New procedure. >>> (%default-profile-hooks): Add it. >> >> [...] >> >>> + (mlet %store-monad ((%glib (manifest-lookup-package manifest "glib")) >>> + ;; XXX: Can't use glib-compile-schemas correspon= ding >>> + ;; to the glib referenced by 'manifest'. Because >>> + ;; '%glib' can be either a package or store path= , and >>> + ;; there's no way to get the "bin" output for th= e later. >>> + (glib-compile-schemas >>> + -> #~(string-append #+glib:bin >>> + "/bin/glib-compile-schemas"= ))) >> >> Oh right, too bad. >> >> =E5=AE=8B=E6=96=87=E6=AD=A6, any comments, since you wrote the existing = hooks in that area? >> > > Well, I think this situation is not changed. Our profile hooks > currently use latest version of zlib, gzip, guile-gdbm-ffi, gtk+, ghc > and etc. We'd like to use packages from the manifest to avoid > additional downloads, but it's not awlays possible... Right, so that=E2=80=99s not new. You=E2=80=99re OK with the rest of the patch? Thanks for your quick reply! Ludo=E2=80=99.