From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mathieu Othacehe Subject: [PATCH] services: Export guix-configuration getters. Date: Wed, 25 Jan 2017 17:22:47 +0100 Message-ID: <20170125162247.1769-1-m.othacehe@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46751) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cWQLl-0002H0-P9 for guix-devel@gnu.org; Wed, 25 Jan 2017 11:23:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cWQLi-0005f1-M2 for guix-devel@gnu.org; Wed, 25 Jan 2017 11:23:09 -0500 Received: from mail-wj0-x242.google.com ([2a00:1450:400c:c01::242]:34845) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cWQLi-0005eP-Fc for guix-devel@gnu.org; Wed, 25 Jan 2017 11:23:06 -0500 Received: by mail-wj0-x242.google.com with SMTP id i7so3636417wjf.2 for ; Wed, 25 Jan 2017 08:23:06 -0800 (PST) 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: guix-devel@gnu.org * 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