[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Services can now have a default value
From: |
Ludovic Courtès |
Subject: |
Services can now have a default value |
Date: |
Sun, 16 Apr 2017 00:51:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
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
“make clean-go && make”.
Feedback welcome!
Ludo’.
- Services can now have a default value,
Ludovic Courtès <=
Re: Services can now have a default value, Ricardo Wurmus, 2017/04/17
Re: Services can now have a default value, Carlo Zancanaro, 2017/04/19