[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#31462] [PATCH] profiles: Add hook to generate "gschemas.compiled".
From: |
Ludovic Courtès |
Subject: |
[bug#31462] [PATCH] profiles: Add hook to generate "gschemas.compiled". |
Date: |
Thu, 17 May 2018 10:57:37 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) |
Hello!
Danny Milosavljevic <address@hidden> 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 corresponding
> + ;; 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 the
> later.
> + (glib-compile-schemas
> + -> #~(string-append #+glib:bin
> + "/bin/glib-compile-schemas")))
Oh right, too bad.
宋文武, any comments, since you wrote the existing hooks in that area?
Otherwise LGTM, thank you Danny!
Ludo’.
[bug#31462] [PATCH] profiles: Add hook to generate "gschemas.compiled"., Ludovic Courtès, 2018/05/25