GNU bug report logs -
#57963
[PATCH 0/1] Support user's fontconfig.
Previous Next
Full log
Message #272 received at 57963 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Taiju HIGASHI <higashi <at> taiju.info> writes:
> See: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=57963#71
>
> We have to come up with a merge strategy if we allow to extend, how
> would you like to extend it?
OK, got it. Sounds reasonable.
I should have followed the conversation thoroughly, Sorry about that.
>
> Perhaps I am less experienced in Guix customization than you are, and
Nah, I haven't contributed much to Guix community yet. Only poking around with my
guix-config ha.
> don't understand the use cases that cannot be achieved with
> modify-services.
I'd prefer =simple-service= over =modify-services= when possible.
For example, in this case. Let's say I want to add an item to
=font-directories=, I should not forget to include =guix-home-font-dir=
too, like this:
#+begin_src scheme
(home-fontconfig-configuration
(font-directories
(string-list (list guix-home-font-dir "another-dir")))
#+end_src
But with service extension I can just write:
#+begin_src scheme
(home-fontconfig-extension
(font-directories
(string-list (list "another-dir")))
#+end_src
=guix-home-font-dir= doesn't need to show up in my configuration.
----
Thanks
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 216 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.