[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Services can now have a default value

From: ng0
Subject: Re: Services can now have a default value
Date: Sat, 15 Apr 2017 23:11:42 +0000

Ludovic Courtès transcribed 0.4K bytes:
> 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’.

Before I lock myself out, this is the definition for defaults.
 (service openssh-service-type
            (port-number 12121)))

  (service openssh-service-type
          (port-number 12121))

or is this just a definition for defaults and not the configuration, and
when the configuration is specified it is still like before this commit?
PGP and more:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]