* [PATCH] services: Export guix-configuration getters.
@ 2017-01-25 16:22 Mathieu Othacehe
2017-01-25 18:04 ` Ludovic Courtès
0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Othacehe @ 2017-01-25 16:22 UTC (permalink / raw)
To: guix-devel
* gnu/services/base.scm (guix-configuration-*): Export.
---
Hi,
I have multiple configurations inheriting from one another.
In one of them I use this code:
(services
(modify-services %common-services
(guix-service-type
config =>
(guix-configuration
(inherit config)
(substitute-urls
(cons "http://192.168.0.20:8081"
(guix-configuration-substitute-urls config))))))
So I think guix-configuration-* getters should be exported to
allow this kind of code.
Thanks,
Mathieu
gnu/services/base.scm | 12 ++++++++++++
1 file changed, 12 insertions(+)
diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 1b1ce0d5e..ef4d4b723 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -99,6 +99,18 @@
%default-authorized-guix-keys
guix-configuration
guix-configuration?
+
+ guix-configuration-guix
+ guix-configuration-build-group
+ guix-configuration-build-accounts
+ guix-configuration-authorize-key?
+ guix-configuration-authorized-keys
+ guix-configuration-use-substitutes?
+ guix-configuration-substitute-urls
+ guix-configuration-extra-options
+ guix-configuration-log-file
+ guix-configuration-lsof
+
guix-service
guix-service-type
guix-publish-configuration
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] services: Export guix-configuration getters.
2017-01-25 16:22 [PATCH] services: Export guix-configuration getters Mathieu Othacehe
@ 2017-01-25 18:04 ` Ludovic Courtès
0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2017-01-25 18:04 UTC (permalink / raw)
To: Mathieu Othacehe; +Cc: guix-devel
Mathieu Othacehe <m.othacehe@gmail.com> skribis:
> * gnu/services/base.scm (guix-configuration-*): Export.
Makes sense. Applied, thanks!
Ludo’.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-01-25 18:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 16:22 [PATCH] services: Export guix-configuration getters Mathieu Othacehe
2017-01-25 18:04 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.