From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Services can now have a default value Date: Sun, 16 Apr 2017 00:51:30 +0200 Message-ID: <87shl9qo7h.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56769) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czWXY-0004rU-M4 for guix-devel@gnu.org; Sat, 15 Apr 2017 18:51:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1czWXV-00012q-LC for guix-devel@gnu.org; Sat, 15 Apr 2017 18:51:36 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50620) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1czWXV-00012l-I9 for guix-devel@gnu.org; Sat, 15 Apr 2017 18:51:33 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59946 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1czWXU-0004d3-Vj for guix-devel@gnu.org; Sat, 15 Apr 2017 18:51:33 -0400 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 Hello Guix! With commit 1bb895eabf74a1e571887eb1521915e668a5c28d, service types can declare a default value for their instances. After this one can write: (service openssh-service-type) instead of: (service openssh-service-type (openssh-configuration)) A bit of typing saved! Note that this changes breaks the ABI for services, so make sure to run =E2=80=9Cmake clean-go && make=E2=80=9D. Feedback welcome! Ludo=E2=80=99.